SegmentLocation.fromJson constructor
Implementation
factory SegmentLocation.fromJson(Map<String, dynamic> json) {
return SegmentLocation(
country: json['Country'] != null
? SetDimension.fromJson(json['Country'] as Map<String, dynamic>)
: null,
gPSPoint: json['GPSPoint'] != null
? GPSPointDimension.fromJson(json['GPSPoint'] as Map<String, dynamic>)
: null,
);
}