CodeStarNotifications constructor Null safety

CodeStarNotifications(
  1. {required String region,
  2. AwsClientCredentials? credentials,
  3. AwsClientCredentialsProvider? credentialsProvider,
  4. Client? client,
  5. String? endpointUrl}
)

Implementation

CodeStarNotifications({
  required String region,
  _s.AwsClientCredentials? credentials,
  _s.AwsClientCredentialsProvider? credentialsProvider,
  _s.Client? client,
  String? endpointUrl,
}) : _protocol = _s.RestJsonProtocol(
        client: client,
        service: _s.ServiceMetadata(
          endpointPrefix: 'codestar-notifications',
          signingName: 'codestar-notifications',
        ),
        region: region,
        credentials: credentials,
        credentialsProvider: credentialsProvider,
        endpointUrl: endpointUrl,
      );