v1SignTransactionIntentV2.fromJson constructor

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

Implementation

factory v1SignTransactionIntentV2.fromJson(Map<String, dynamic> json) {
  final _signWith = json['signWith'] as String;
  final _unsignedTransaction = json['unsignedTransaction'] as String;
  final _type = v1TransactionTypeFromJson(json['type']);
  return v1SignTransactionIntentV2(
    signWith: _signWith,
    unsignedTransaction: _unsignedTransaction,
    type: _type,
  );
}