toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adultPool != null) 'adultPool': adultPool!,
      if (adultPoolException != null)
        'adultPoolException': adultPoolException!,
      if (hotTub != null) 'hotTub': hotTub!,
      if (hotTubException != null) 'hotTubException': hotTubException!,
      if (indoorPool != null) 'indoorPool': indoorPool!,
      if (indoorPoolException != null)
        'indoorPoolException': indoorPoolException!,
      if (indoorPoolsCount != null) 'indoorPoolsCount': indoorPoolsCount!,
      if (indoorPoolsCountException != null)
        'indoorPoolsCountException': indoorPoolsCountException!,
      if (lazyRiver != null) 'lazyRiver': lazyRiver!,
      if (lazyRiverException != null)
        'lazyRiverException': lazyRiverException!,
      if (lifeguard != null) 'lifeguard': lifeguard!,
      if (lifeguardException != null)
        'lifeguardException': lifeguardException!,
      if (outdoorPool != null) 'outdoorPool': outdoorPool!,
      if (outdoorPoolException != null)
        'outdoorPoolException': outdoorPoolException!,
      if (outdoorPoolsCount != null) 'outdoorPoolsCount': outdoorPoolsCount!,
      if (outdoorPoolsCountException != null)
        'outdoorPoolsCountException': outdoorPoolsCountException!,
      if (pool != null) 'pool': pool!,
      if (poolException != null) 'poolException': poolException!,
      if (poolsCount != null) 'poolsCount': poolsCount!,
      if (poolsCountException != null)
        'poolsCountException': poolsCountException!,
      if (wadingPool != null) 'wadingPool': wadingPool!,
      if (wadingPoolException != null)
        'wadingPoolException': wadingPoolException!,
      if (waterPark != null) 'waterPark': waterPark!,
      if (waterParkException != null)
        'waterParkException': waterParkException!,
      if (waterslide != null) 'waterslide': waterslide!,
      if (waterslideException != null)
        'waterslideException': waterslideException!,
      if (wavePool != null) 'wavePool': wavePool!,
      if (wavePoolException != null) 'wavePoolException': wavePoolException!,
    };