Activities.fromJson constructor

Activities.fromJson(
  1. Map json_
)

Implementation

Activities.fromJson(core.Map json_)
    : this(
        beachAccess: json_.containsKey('beachAccess')
            ? json_['beachAccess'] as core.bool
            : null,
        beachAccessException: json_.containsKey('beachAccessException')
            ? json_['beachAccessException'] as core.String
            : null,
        beachFront: json_.containsKey('beachFront')
            ? json_['beachFront'] as core.bool
            : null,
        beachFrontException: json_.containsKey('beachFrontException')
            ? json_['beachFrontException'] as core.String
            : null,
        bicycleRental: json_.containsKey('bicycleRental')
            ? json_['bicycleRental'] as core.bool
            : null,
        bicycleRentalException: json_.containsKey('bicycleRentalException')
            ? json_['bicycleRentalException'] as core.String
            : null,
        boutiqueStores: json_.containsKey('boutiqueStores')
            ? json_['boutiqueStores'] as core.bool
            : null,
        boutiqueStoresException: json_.containsKey('boutiqueStoresException')
            ? json_['boutiqueStoresException'] as core.String
            : null,
        casino:
            json_.containsKey('casino') ? json_['casino'] as core.bool : null,
        casinoException: json_.containsKey('casinoException')
            ? json_['casinoException'] as core.String
            : null,
        freeBicycleRental: json_.containsKey('freeBicycleRental')
            ? json_['freeBicycleRental'] as core.bool
            : null,
        freeBicycleRentalException:
            json_.containsKey('freeBicycleRentalException')
                ? json_['freeBicycleRentalException'] as core.String
                : null,
        freeWatercraftRental: json_.containsKey('freeWatercraftRental')
            ? json_['freeWatercraftRental'] as core.bool
            : null,
        freeWatercraftRentalException:
            json_.containsKey('freeWatercraftRentalException')
                ? json_['freeWatercraftRentalException'] as core.String
                : null,
        gameRoom: json_.containsKey('gameRoom')
            ? json_['gameRoom'] as core.bool
            : null,
        gameRoomException: json_.containsKey('gameRoomException')
            ? json_['gameRoomException'] as core.String
            : null,
        golf: json_.containsKey('golf') ? json_['golf'] as core.bool : null,
        golfException: json_.containsKey('golfException')
            ? json_['golfException'] as core.String
            : null,
        horsebackRiding: json_.containsKey('horsebackRiding')
            ? json_['horsebackRiding'] as core.bool
            : null,
        horsebackRidingException:
            json_.containsKey('horsebackRidingException')
                ? json_['horsebackRidingException'] as core.String
                : null,
        nightclub: json_.containsKey('nightclub')
            ? json_['nightclub'] as core.bool
            : null,
        nightclubException: json_.containsKey('nightclubException')
            ? json_['nightclubException'] as core.String
            : null,
        privateBeach: json_.containsKey('privateBeach')
            ? json_['privateBeach'] as core.bool
            : null,
        privateBeachException: json_.containsKey('privateBeachException')
            ? json_['privateBeachException'] as core.String
            : null,
        scuba:
            json_.containsKey('scuba') ? json_['scuba'] as core.bool : null,
        scubaException: json_.containsKey('scubaException')
            ? json_['scubaException'] as core.String
            : null,
        snorkeling: json_.containsKey('snorkeling')
            ? json_['snorkeling'] as core.bool
            : null,
        snorkelingException: json_.containsKey('snorkelingException')
            ? json_['snorkelingException'] as core.String
            : null,
        tennis:
            json_.containsKey('tennis') ? json_['tennis'] as core.bool : null,
        tennisException: json_.containsKey('tennisException')
            ? json_['tennisException'] as core.String
            : null,
        waterSkiing: json_.containsKey('waterSkiing')
            ? json_['waterSkiing'] as core.bool
            : null,
        waterSkiingException: json_.containsKey('waterSkiingException')
            ? json_['waterSkiingException'] as core.String
            : null,
        watercraftRental: json_.containsKey('watercraftRental')
            ? json_['watercraftRental'] as core.bool
            : null,
        watercraftRentalException:
            json_.containsKey('watercraftRentalException')
                ? json_['watercraftRentalException'] as core.String
                : null,
      );