UpdateLedgerResponse.fromJson constructor

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

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(),
  );
}