ContainerQueryContainerHighlightConfig.fromJson constructor
ContainerQueryContainerHighlightConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ContainerQueryContainerHighlightConfig.fromJson(
Map<String, dynamic> json) {
return ContainerQueryContainerHighlightConfig(
containerBorder: json.containsKey('containerBorder')
? LineStyle.fromJson(json['containerBorder'] as Map<String, dynamic>)
: null,
descendantBorder: json.containsKey('descendantBorder')
? LineStyle.fromJson(json['descendantBorder'] as Map<String, dynamic>)
: null,
);
}