EventStream.fromJson constructor

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

Implementation

factory EventStream.fromJson(Map<String, dynamic> json) {
  return EventStream(
    applicationId: json['ApplicationId'] as String,
    destinationStreamArn: json['DestinationStreamArn'] as String,
    roleArn: json['RoleArn'] as String,
    externalId: json['ExternalId'] as String?,
    lastModifiedDate: json['LastModifiedDate'] as String?,
    lastUpdatedBy: json['LastUpdatedBy'] as String?,
  );
}