toMap method
API Documentation for toMap.
Implementation
Map<String, Object?> toMap() => <String, Object?>{
'bytes': bytes,
'textureId': textureId,
'width': width,
'height': height,
'format': format,
'vision': vision?.toMap(),
};