LedgerSummary.fromJson constructor

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

Implementation

factory LedgerSummary.fromJson(Map<String, dynamic> json) {
  return LedgerSummary(
    creationDateTime: timeStampFromJson(json['CreationDateTime']),
    name: json['Name'] as String?,
    state: (json['State'] as String?)?.toLedgerState(),
  );
}