toJson method

Map<String, dynamic> toJson()

Returns a Map representing this NativeFile.

Implementation

Map<String, dynamic> toJson() =>
    _$NativeFileToJson(this)
      ..['dimensions'] = dimensions.value?.toJson()
      ..['bytes'] = bytes.value?.toJson();