toMap property

Map<String, Object> toMap

Implementation

Map<String, Object> get toMap {
  return {
    'size': size,
    'visible': visible,
    'starsColor': starsColor.toLowerCase(),
    'emptyStarsColor': emptyStarsColor.toLowerCase(),
  };
}