HealthAndSafety.fromJson constructor
HealthAndSafety.fromJson(
- Map json_
Implementation
HealthAndSafety.fromJson(core.Map json_)
: this(
enhancedCleaning: json_.containsKey('enhancedCleaning')
? EnhancedCleaning.fromJson(json_['enhancedCleaning']
as core.Map<core.String, core.dynamic>)
: null,
increasedFoodSafety: json_.containsKey('increasedFoodSafety')
? IncreasedFoodSafety.fromJson(json_['increasedFoodSafety']
as core.Map<core.String, core.dynamic>)
: null,
minimizedContact: json_.containsKey('minimizedContact')
? MinimizedContact.fromJson(json_['minimizedContact']
as core.Map<core.String, core.dynamic>)
: null,
personalProtection: json_.containsKey('personalProtection')
? PersonalProtection.fromJson(json_['personalProtection']
as core.Map<core.String, core.dynamic>)
: null,
physicalDistancing: json_.containsKey('physicalDistancing')
? PhysicalDistancing.fromJson(json_['physicalDistancing']
as core.Map<core.String, core.dynamic>)
: null,
);