toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'size': size,
      'color': color,
      'backgroundColor': backgroundColor,
      'width': width,
      'offset': offset,
      'rounded': rounded,
    };