initCloudWatch method Null safety

void initCloudWatch(
  1. {String? awsAccessKey,
  2. String? awsSecretKey,
  3. String? awsSessionToken}
)

Implementation

void initCloudWatch({String? awsAccessKey, String? awsSecretKey, String? awsSessionToken}) {
  cloudWatchLogger = CloudWatchHandler(
    awsAccessKey: awsAccessKey,
    awsSecretKey: awsSecretKey,
    awsSessionToken: awsSessionToken,
    region: "ap-northeast-2",
  );
}