toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
    _json[r'signature'] = signature;
  if (slot != null) {
    _json[r'slot'] = slot;
  } else {
    _json[r'slot'] = null;
  }
  if (err != null) {
    _json[r'err'] = err;
  } else {
    _json[r'err'] = null;
  }
  if (memo != null) {
    _json[r'memo'] = memo;
  } else {
    _json[r'memo'] = null;
  }
  if (blockTime != null) {
    _json[r'blockTime'] = blockTime;
  } else {
    _json[r'blockTime'] = null;
  }
  return _json;
}