CognitoStreams.fromJson constructor

CognitoStreams.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CognitoStreams.fromJson(Map<String, dynamic> json) {
  return CognitoStreams(
    roleArn: json['RoleArn'] as String?,
    streamName: json['StreamName'] as String?,
    streamingStatus:
        (json['StreamingStatus'] as String?)?.toStreamingStatus(),
  );
}