toJson method
Implementation
Map<String, dynamic> toJson() => {
"sequence": sequence,
"block_identifier": block_identifier.toJson(),
"type": type
}..removeWhere(
(dynamic key, dynamic value) => key == null || value == null);