toMap method

Map toMap()

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;
}