Map<String, dynamic> toJson() { final map = <String, dynamic>{}; map['topColor'] = _topColor; map['bottomColor'] = _bottomColor; return map; }