DescribeLedgerResponse.fromJson constructor
Implementation
factory DescribeLedgerResponse.fromJson(Map<String, dynamic> json) {
return DescribeLedgerResponse(
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(),
);
}