toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'backgroundColor': backgroundColor,
      'disabledColor': disabledColor,
      'textStyle': textStyle.toJson(),
      'border': border?.toJson(),
      'hoverColor': hoverColor,
    };