Converts this block to a map.
@override Map<String, dynamic> toMap() => { 'type': 'nonStandard', 'value': value, ..._metadataMap(this), };