toJson method

Map<String, dynamic> toJson()

Implementation

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