FFChartData constructor
FFChartData({
- @Deprecated('This field is deprecated.') String? legacyLabel,
- FFFirestoreChartData? firestoreDocuments,
- FFNumbersList? numbersList,
- FFChartData_DataSourceType? sourceType,
- FFText? legendName,
- FFColor? legacyColor,
- FFText? label,
- FFVariable? singleValue,
- FFColorValue? colorValue,
Implementation
factory FFChartData({
@$core.Deprecated('This field is deprecated.') $core.String? legacyLabel,
FFFirestoreChartData? firestoreDocuments,
FFNumbersList? numbersList,
FFChartData_DataSourceType? sourceType,
FFText? legendName,
FFColor? legacyColor,
FFText? label,
FFVariable? singleValue,
FFColorValue? colorValue,
}) {
final result = create();
if (legacyLabel != null) result.legacyLabel = legacyLabel;
if (firestoreDocuments != null)
result.firestoreDocuments = firestoreDocuments;
if (numbersList != null) result.numbersList = numbersList;
if (sourceType != null) result.sourceType = sourceType;
if (legendName != null) result.legendName = legendName;
if (legacyColor != null) result.legacyColor = legacyColor;
if (label != null) result.label = label;
if (singleValue != null) result.singleValue = singleValue;
if (colorValue != null) result.colorValue = colorValue;
return result;
}