Stream.fromJson constructor

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

Implementation

factory Stream.fromJson(Map<String, dynamic> json) {
  return Stream(
    streamArn: json['StreamArn'] as String?,
    streamLabel: json['StreamLabel'] as String?,
    tableName: json['TableName'] as String?,
  );
}