ChartConfigModel constructor

const ChartConfigModel({
  1. @JsonKey(name: 'active') required bool active,
  2. @JsonKey(name: 'name') required String name,
  3. @JsonKey(name: 'vizType') String? vizType,
  4. @JsonKey(name: 'chartType') required String chartType,
})

Implementation

const factory ChartConfigModel({
  @JsonKey(name: 'active') required bool active,
  @JsonKey(name: 'name') required String name,
  @JsonKey(name: 'vizType') String? vizType,
  @JsonKey(name: 'chartType') required String chartType,
}) = _ChartConfigModel;