toMap method
Returns the internal map as a Map.
This method provides access to the underlying map data.
@return A Map containing all key-value pairs.
Implementation
@override
MutableMapping toMap() {
// serialize 'thumbnail'
var img = _thumbnail;
if (img != null && !containsKey('thumbnail')) {
this['thumbnail'] = img.serialize();
}
// OK
return super.toMap();
}