toJson method

Map<String, dynamic> toJson()

Implementation

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