toJson method

  1. @override
Map<String, dynamic> toJson()
override

INTERAL - This encoding should only be used to create a URI for the image.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "numbered": numbered,
    "label": label,
    "color": color,
  };
}