Line.fromJson constructor
Line.fromJson(
- Map json_
Implementation
Line.fromJson(core.Map json_)
: this(
lineCategory: json_.containsKey('lineCategory')
? json_['lineCategory'] as core.String
: null,
lineProperties: json_.containsKey('lineProperties')
? LineProperties.fromJson(json_['lineProperties']
as core.Map<core.String, core.dynamic>)
: null,
lineType: json_.containsKey('lineType')
? json_['lineType'] as core.String
: null,
);