TransactionError.fromJson constructor

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

Implementation

factory TransactionError.fromJson(Map<String, dynamic> json) =>
    TransactionError(
      errorCode: json['errorCode'] as int,
      errorMessage: json['errorMessage'] as String,
    );