TransferDoc.fromJson constructor

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

Implementation

factory TransferDoc.fromJson(Map<String, dynamic> json) {
  final model = FinalizedTransfer.fromJson(json['model'] as String);
  final operator = json['operator'] as String;
  return TransferDoc(model, operator);
}