UpdateLedgerResponse.fromJson constructor
Implementation
factory UpdateLedgerResponse.fromJson(Map<String, dynamic> json) {
return UpdateLedgerResponse(
arn: json['Arn'] as String?,
creationDateTime: timeStampFromJson(json['CreationDateTime']),
deletionProtection: json['DeletionProtection'] as bool?,
name: json['Name'] as String?,
state: (json['State'] as String?)?.toLedgerState(),
);
}