Families.fromJson constructor

Families.fromJson(
  1. Map json_
)

Implementation

Families.fromJson(core.Map json_)
    : this(
        babysitting: json_.containsKey('babysitting')
            ? json_['babysitting'] as core.bool
            : null,
        babysittingException: json_.containsKey('babysittingException')
            ? json_['babysittingException'] as core.String
            : null,
        kidsActivities: json_.containsKey('kidsActivities')
            ? json_['kidsActivities'] as core.bool
            : null,
        kidsActivitiesException: json_.containsKey('kidsActivitiesException')
            ? json_['kidsActivitiesException'] as core.String
            : null,
        kidsClub: json_.containsKey('kidsClub')
            ? json_['kidsClub'] as core.bool
            : null,
        kidsClubException: json_.containsKey('kidsClubException')
            ? json_['kidsClubException'] as core.String
            : null,
        kidsFriendly: json_.containsKey('kidsFriendly')
            ? json_['kidsFriendly'] as core.bool
            : null,
        kidsFriendlyException: json_.containsKey('kidsFriendlyException')
            ? json_['kidsFriendlyException'] as core.String
            : null,
      );