toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'domain': domain,
      'measure': measure,
      'color': color,
      'other': other,
    };