JsonChartsDecoder class

Constructors

JsonChartsDecoder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decodeAnnotationLabelAnchor(dynamic map, {bool validate = true}) → AnnotationLabelAnchor?
Expects the map to be either a common.AnnotationLabelAnchor or a String containing one of the following values:
decodeAnnotationLabelDirection(dynamic map, {bool validate = true}) → AnnotationLabelDirection?
Expects the map to be either a common.AnnotationLabelDirection or a String containing one of the following values:
decodeAnnotationLabelPosition(dynamic map, {bool validate = true}) → AnnotationLabelPosition?
Expects the map to be either a common.AnnotationLabelPosition or a String containing one of the following values:
decodeAnnotationSegment<T>(dynamic map, {bool validate = true}) → AnnotationSegment<Object>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be one of the following structures:
decodeArcLabelDecorator<D>(dynamic map, {bool validate = false}) → ArcLabelDecorator<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeArcLabelDecoratorList<D>(dynamic map, {bool validate = false}) List<ArcLabelDecorator<D>>
decodeArcLabelLeaderLineStyleSpec(dynamic map, {bool validate = true}) → ArcLabelLeaderLineStyleSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeArcLabelPosition(dynamic map, {bool validate = true}) → ArcLabelPosition?
Expects the map to be either a common.ArcLabelPosition or a String containing one of the following values:
decodeArcRendererConfig<D>(dynamic map, {bool validate = true}) → ArcRendererConfig<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeAxisDirection(dynamic map, {bool validate = true}) → AxisDirection?
Expects the map to be either a charts.AxisDirection or a String containing one of the following values:
decodeAxisSpec<D>(dynamic map, {bool validate = true}) → AxisSpec<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeBarGroupingType(dynamic map, {bool validate = true}) → BarGroupingType?
Expects the map to be either a charts.BarGroupingType or a String containing one of the following values:
decodeBarLabelAnchor(dynamic map, {bool validate = true}) → BarLabelAnchor?
Expects the map to be either a charts.BarLabelAnchor or a String containing one of the following values:
decodeBarLabelPlacement(dynamic map, {bool validate = true}) → BarLabelPlacement?
Expects the map to be either a common.BarLabelPlacement or a String containing one of the following values:
decodeBarLabelPosition(dynamic map, {bool validate = true}) → BarLabelPosition?
Expects the map to be either a common.BarLabelPosition or a String containing one of the following values:
decodeBarLabelVerticalPosition(dynamic map, {bool validate = true}) → BarLabelVerticalPosition?
Expects the map to be either a common.BarLabelVerticalPosition or a String containing one of the following values:
decodeBarRendererConfig<D>(dynamic map, {bool validate = true}) → BaseBarRendererConfig<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be one of the following structures:
decodeBarRendererConfigList<D>(dynamic map, {bool validate = true}) List<BaseBarRendererConfig<D>>?
decodeBarRendererDecorator<T>(dynamic map, {bool validate = true}) → BarRendererDecorator<T>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeBarTargetLineRendererConfig<D>(dynamic map, {bool validate = true}) → BarTargetLineRendererConfig<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be in the following structures:
decodeBehaviorPosition(dynamic map, {bool validate = true}) → BehaviorPosition?
Expects the map to be either a charts.BehaviorPosition or a String containing one of the following values:
decodeBucketingAxisSpec(dynamic map, {bool validate = true}) → BucketingAxisSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeChartBehavior<D>(dynamic map, {bool validate = true}) → ChartBehavior<D>?
Decodes a dynamic value to an appropriate charts.ChartBehavior. Which renderer is used is determined by the "type", and the schema is then specific to that type. The following types are supported:
decodeChartBehaviorList<T>(dynamic map, {bool validate = true}) List<ChartBehavior<T>>?
decodeChartTitle<D>(dynamic map, {bool validate = true}) → ChartTitle<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeChartTitleDirection(dynamic map, {bool validate = true}) → ChartTitleDirection?
Expects the map to be either a common.ChartTitleDirection or a String containing one of the following values:
decodeColor(dynamic map, {bool validate = true}) → Color?
Expects the map to be either a common.Color, a Color, or a String containing the hex value of the color to use.
decodeCornerStrategy(dynamic map, {bool validate = true}) → CornerStrategy?
Decodes the object from an int or Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeDateTimeAxisSpec(dynamic map, {bool validate = true}) → DateTimeAxisSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeDateTimeExtents(dynamic map, {bool validate = false}) → DateTimeExtents?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeDateTimeFactory(dynamic map, {bool validate = false}) → DateTimeFactory?
Expects the map to be either a common.DateTimeFactory or a String containing one of the following values:
decodeDateTimeTickFormatterSpec<D>(dynamic map, {bool validate = true}) → DateTimeTickFormatterSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeDateTimeTickProviderSpec(dynamic map, {bool validate = true}) → DateTimeTickProviderSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeDatumLegend<D>(dynamic map, {bool validate = true}) → DatumLegend<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeDomainHighlighter<D>(dynamic map, {bool validate = true}) → DomainHighlighter<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeEndPointsTimeAxisSpec(dynamic map, {bool validate = true}) → EndPointsTimeAxisSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeFillPatternType(dynamic map, {bool validate = true}) → FillPatternType?
Expects the map to be either a charts.FillPatternType or a String containing one of the following values:
decodeInitialHintBehavior<D>(dynamic map, {bool validate = false}) → InitialHintBehavior<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeInitialSelection<D>(dynamic map, {bool validate = false}) → InitialSelection<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeInsideJustification(dynamic map, {bool validate = true}) → InsideJustification?
Expects the map to be either a charts.InsideJustification or a String containing one of the following values:
decodeLayoutConfig(dynamic map, {bool validate = true}) → LayoutConfig?
Decodes the object from an int or Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeLegendDefaultMeasure(dynamic map, {bool validate = true}) → LegendDefaultMeasure?
Expects the map to be either a charts.LegendDefaultMeasure or a String containing one of the following values:
decodeLinePointHighlighter<D>(dynamic map, {bool validate = true}) → LinePointHighlighter<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeLinePointHighlighterFollowLineType(dynamic map, {bool validate = true}) → LinePointHighlighterFollowLineType?
Expects the map to be either a charts.LinePointHighlighterFollowLineType or a String containing one of the following values:
decodeLineRendererConfig<D>(dynamic map, {bool validate = false}) → LineRendererConfig<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeLineStyleSpec(dynamic map, {bool validate = true}) → LineStyleSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeMarginSpec(dynamic map, {bool validate = true}) → MarginSpec?
Decodes the object from an int or Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeMaxWidthStrategy(dynamic map, {bool validate = true}) → MaxWidthStrategy?
Expects the map to be either a common.MaxWidthStrategy or a String containing one of the following values:
decodeNumericAxisSpec(dynamic map, {bool validate = true}) → NumericAxisSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeNumericExtents(dynamic map, {bool validate = false}) → NumericExtents?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeNumericTickFormatterSpec<D>(dynamic map, {bool validate = true}) → NumericTickFormatterSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeNumericTickProviderSpec(dynamic map, {bool validate = true}) → NumericTickProviderSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeOrdinalAxisSpec(dynamic map, {bool validate = true}) → OrdinalAxisSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeOrdinalTickFormatterSpec(dynamic map, {bool validate = true}) → OrdinalTickFormatterSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeOrdinalTickProviderSpec(dynamic map, {bool validate = true}) → OrdinalTickProviderSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeOrdinalViewport(dynamic map, {bool validate = true}) → OrdinalViewport?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeOutsideJustification(dynamic map, {bool validate = true}) → OutsideJustification?
Expects the map to be either a charts.OutsideJustification or a String containing one of the following values:
decodePanAndZoomBehavior<D>(dynamic map, {bool validate = true}) → PanAndZoomBehavior<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodePercentAxisSpec<D>(dynamic map, {bool validate = true}) → PercentAxisSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodePercentInjector<D>(dynamic map, {bool validate = true}) → PercentInjector<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodePercentInjectorTotalType(dynamic map, {bool validate = true}) → PercentInjectorTotalType?
Expects the map to be either a common.PercentInjectorTotalType or a String containing one of the following values:
decodePointRendererConfig<D>(dynamic map, {bool validate = true}) → PointRendererConfig<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodePointRendererDecorator<D>(dynamic map, {bool validate = true}) → PointRendererDecorator<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodePointRendererDecoratorList<D>(dynamic map, {bool validate = true}) List<PointRendererDecorator<D>>?
decodePointSymbolRenderer(dynamic map, {bool validate = true}) → PointSymbolRenderer?
Expects the map to be either a common.PointSymbolRenderer or a String containing one of the following values:
decodeRangeAnnotation<T>(dynamic map, {bool validate = true}) → RangeAnnotation<T>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeRangeAnnotationAxisType(dynamic map, {bool validate = false}) → RangeAnnotationAxisType?
Expects the map to be either a charts.RangeAnnotationAxisType or a String containing one of the following values:
decodeRenderSpec<D>(dynamic map, {bool validate = false}) → RenderSpec<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be one of the following structures:
decodeRTLSpec(dynamic map, {bool validate = true}) → RTLSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeSelectionMode(dynamic map, {bool validate = true}) → SelectionMode?
Expects the map to be either a common.SelectionMode or a String containing one of the following values:
decodeSelectionModelConfig<T>(dynamic map, {bool validate = true}) → SelectionModelConfig<T>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeSelectionModelConfigList<T>(dynamic map, {bool validate = true}) List<SelectionModelConfig<T>>?
Decodes the object from a list of charts.SelectionModelConfig objects.
decodeSelectionModelType(dynamic map, {bool validate = true}) → SelectionModelType?
Expects the map to be either a charts.SelectionModelType or a String containing one of the following values:
decodeSelectionTrigger(dynamic map, {bool validate = true}) → SelectionTrigger?
Expects the map to be either a common.SelectionTrigger or a String containing one of the following values:
decodeSelectNearest<D>(dynamic map, {bool validate = true}) → SelectNearest<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeSeries<T, D>(dynamic map, {bool validate = true}) → Series<T, D>
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeSeriesDatumConfig<D>(dynamic map, {bool validate = true}) → SeriesDatumConfig<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeSeriesDatumConfigList<D>(dynamic map, {bool validate = true}) List<SeriesDatumConfig<D>>?
decodeSeriesLegend<D>(dynamic map, {bool validate = true}) → SeriesLegend<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeSeriesList<T, D>(dynamic map, {bool validate = true}) List<Series<T, D>>
decodeSeriesRendererConfig<D>(dynamic map, {bool validate = true}) → SeriesRendererConfig<D>?
Decodes a dynamic value to an appropriate charts.SeriesRendererConfig. Which renderer is used is determined by the "type", and the schema is then specific to that type. The following types are supported:
decodeSeriesRendererConfigList<T>(dynamic map, {bool validate = true}) List<SeriesRendererConfig<T>>?
decodeSlider<D>(dynamic map, {bool validate = true}) → Slider<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeSliderHandlePosition(dynamic map, {bool validate = true}) → SliderHandlePosition?
Expects the map to be either a common.SliderHandlePosition or a String containing one of the following values:
decodeSliderStyle(dynamic map, {bool validate = true}) → SliderStyle?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeSlidingViewport<D>(dynamic map, {bool validate = true}) → SlidingViewport<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeSymbolAnnotationRendererConfig<D>(dynamic map, {bool validate = true}) → SymbolAnnotationRendererConfig<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeSymbolRenderer(dynamic map, {bool validate = true}) → SymbolRenderer?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeTextStyleSpec(dynamic map, {bool validate = true}) → TextStyleSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeTickFormatterSpec<D>(dynamic map, {bool validate = true}) → TickFormatterSpec<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeTickLabelAnchor(dynamic map, {bool validate = true}) → TickLabelAnchor?
Expects the map to be either a charts.TickLabelAnchor or a String containing one of the following values:
decodeTickLabelJustification(dynamic map, {bool validate = true}) → TickLabelJustification?
Expects the map to be either a charts.TickLabelJustification or a String containing one of the following values:
decodeTickSpec<D>(dynamic map, {bool validate = true}) → TickSpec<D>?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
decodeTickSpecList<D>(dynamic map, {bool validate = true}) List<TickSpec<D>>?
decodeTimeFormatterSpec(dynamic map, {bool validate = true}) → TimeFormatterSpec?
Decodes the object from a Map-like dynamic structure. This expects the JSON format to be of the following structure:
fromColor(Color color) → Color