toMap method
Conversion to Map
Implementation
Map toMap() {
Map map = Map();
if (width != null) map[_WIDTH] = width;
if (code != null) map[_CODE] = code;
if (height != null) map[_HEIGHT] = height;
return map;
}
Conversion to Map
Map toMap() {
Map map = Map();
if (width != null) map[_WIDTH] = width;
if (code != null) map[_CODE] = code;
if (height != null) map[_HEIGHT] = height;
return map;
}