toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
    _json[r'accountIndex'] = accountIndex;
    _json[r'mint'] = mint;
  if (owner != null) {
    _json[r'owner'] = owner;
  } else {
    _json[r'owner'] = null;
  }
    _json[r'uiTokenAmount'] = uiTokenAmount;
  return _json;
}