GroupOrSegment.fromJson constructor
GroupOrSegment.fromJson(
- Map json_
Implementation
GroupOrSegment.fromJson(core.Map json_)
: this(
group: json_.containsKey('group')
? SchemaGroup.fromJson(
json_['group'] as core.Map<core.String, core.dynamic>)
: null,
segment: json_.containsKey('segment')
? SchemaSegment.fromJson(
json_['segment'] as core.Map<core.String, core.dynamic>)
: null,
);