fromJson static method

WidgetQueryTypeSentTransaction? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static WidgetQueryTypeSentTransaction? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return WidgetQueryTypeSentTransaction(
    wallet:
        WidgetQueryWallet.fromJson(json['wallet'] as Map<String, dynamic>?)!,
    msgHash: (json['msg_hash'] as String?) ?? '',
  );
}