toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result = toMempoolJson();
  result['blockId'] = blockId.toString();
  result['blockNumber'] = blockNumber.toString();
  return result;
}