TransferResult.fromJson constructor

TransferResult.fromJson(
  1. Map map
)

Implementation

factory TransferResult.fromJson(Map map) {
  return TransferResult(
    ok: map['Ok'] != null ? (map['Ok']) : null,
    err: map['Err'] != null ? TransferError.fromJson(map['Err']) : null,
  );
}