Pools.fromJson constructor
Pools.fromJson(
- Map json_
Implementation
Pools.fromJson(core.Map json_)
: this(
adultPool: json_.containsKey('adultPool')
? json_['adultPool'] as core.bool
: null,
adultPoolException: json_.containsKey('adultPoolException')
? json_['adultPoolException'] as core.String
: null,
hotTub:
json_.containsKey('hotTub') ? json_['hotTub'] as core.bool : null,
hotTubException: json_.containsKey('hotTubException')
? json_['hotTubException'] as core.String
: null,
indoorPool: json_.containsKey('indoorPool')
? json_['indoorPool'] as core.bool
: null,
indoorPoolException: json_.containsKey('indoorPoolException')
? json_['indoorPoolException'] as core.String
: null,
indoorPoolsCount: json_.containsKey('indoorPoolsCount')
? json_['indoorPoolsCount'] as core.int
: null,
indoorPoolsCountException:
json_.containsKey('indoorPoolsCountException')
? json_['indoorPoolsCountException'] as core.String
: null,
lazyRiver: json_.containsKey('lazyRiver')
? json_['lazyRiver'] as core.bool
: null,
lazyRiverException: json_.containsKey('lazyRiverException')
? json_['lazyRiverException'] as core.String
: null,
lifeguard: json_.containsKey('lifeguard')
? json_['lifeguard'] as core.bool
: null,
lifeguardException: json_.containsKey('lifeguardException')
? json_['lifeguardException'] as core.String
: null,
outdoorPool: json_.containsKey('outdoorPool')
? json_['outdoorPool'] as core.bool
: null,
outdoorPoolException: json_.containsKey('outdoorPoolException')
? json_['outdoorPoolException'] as core.String
: null,
outdoorPoolsCount: json_.containsKey('outdoorPoolsCount')
? json_['outdoorPoolsCount'] as core.int
: null,
outdoorPoolsCountException:
json_.containsKey('outdoorPoolsCountException')
? json_['outdoorPoolsCountException'] as core.String
: null,
pool: json_.containsKey('pool') ? json_['pool'] as core.bool : null,
poolException: json_.containsKey('poolException')
? json_['poolException'] as core.String
: null,
poolsCount: json_.containsKey('poolsCount')
? json_['poolsCount'] as core.int
: null,
poolsCountException: json_.containsKey('poolsCountException')
? json_['poolsCountException'] as core.String
: null,
wadingPool: json_.containsKey('wadingPool')
? json_['wadingPool'] as core.bool
: null,
wadingPoolException: json_.containsKey('wadingPoolException')
? json_['wadingPoolException'] as core.String
: null,
waterPark: json_.containsKey('waterPark')
? json_['waterPark'] as core.bool
: null,
waterParkException: json_.containsKey('waterParkException')
? json_['waterParkException'] as core.String
: null,
waterslide: json_.containsKey('waterslide')
? json_['waterslide'] as core.bool
: null,
waterslideException: json_.containsKey('waterslideException')
? json_['waterslideException'] as core.String
: null,
wavePool: json_.containsKey('wavePool')
? json_['wavePool'] as core.bool
: null,
wavePoolException: json_.containsKey('wavePoolException')
? json_['wavePoolException'] as core.String
: null,
);