GlobalTableDescription.fromJson constructor
GlobalTableDescription.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GlobalTableDescription.fromJson(Map<String, dynamic> json) {
return GlobalTableDescription(
creationDateTime: timeStampFromJson(json['CreationDateTime']),
globalTableArn: json['GlobalTableArn'] as String?,
globalTableName: json['GlobalTableName'] as String?,
globalTableStatus:
(json['GlobalTableStatus'] as String?)?.toGlobalTableStatus(),
replicationGroup: (json['ReplicationGroup'] as List?)
?.whereNotNull()
.map((e) => ReplicaDescription.fromJson(e as Map<String, dynamic>))
.toList(),
);
}