unknownOrNull property

Map<String, dynamic>? get unknownOrNull

Returns JSON object if this data is unknown, otherwise null.

Implementation

Map<String, dynamic>? get unknownOrNull => isUnknown ? unknown : null;