UpdateGlobalTableSettingsOutput.fromJson constructor

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

Implementation

factory UpdateGlobalTableSettingsOutput.fromJson(Map<String, dynamic> json) {
  return UpdateGlobalTableSettingsOutput(
    globalTableName: json['GlobalTableName'] as String?,
    replicaSettings: (json['ReplicaSettings'] as List?)
        ?.whereNotNull()
        .map((e) =>
            ReplicaSettingsDescription.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}