AwsKinesis.fromJson constructor

AwsKinesis.fromJson(
  1. Map json_
)

Implementation

AwsKinesis.fromJson(core.Map json_)
    : this(
        awsRoleArn: json_.containsKey('awsRoleArn')
            ? json_['awsRoleArn'] as core.String
            : null,
        consumerArn: json_.containsKey('consumerArn')
            ? json_['consumerArn'] as core.String
            : null,
        gcpServiceAccount: json_.containsKey('gcpServiceAccount')
            ? json_['gcpServiceAccount'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        streamArn: json_.containsKey('streamArn')
            ? json_['streamArn'] as core.String
            : null,
      );