EmailChannelResponse.fromJson constructor

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

Implementation

factory EmailChannelResponse.fromJson(Map<String, dynamic> json) {
  return EmailChannelResponse(
    platform: json['Platform'] as String,
    applicationId: json['ApplicationId'] as String?,
    configurationSet: json['ConfigurationSet'] as String?,
    creationDate: json['CreationDate'] as String?,
    enabled: json['Enabled'] as bool?,
    fromAddress: json['FromAddress'] as String?,
    hasCredential: json['HasCredential'] as bool?,
    id: json['Id'] as String?,
    identity: json['Identity'] as String?,
    isArchived: json['IsArchived'] as bool?,
    lastModifiedBy: json['LastModifiedBy'] as String?,
    lastModifiedDate: json['LastModifiedDate'] as String?,
    messagesPerSecond: json['MessagesPerSecond'] as int?,
    roleArn: json['RoleArn'] as String?,
    version: json['Version'] as int?,
  );
}