LocationPreference.fromJson constructor

LocationPreference.fromJson(
  1. Map _json
)

Implementation

LocationPreference.fromJson(core.Map _json)
    : this(
        followGaeApplication: _json.containsKey('followGaeApplication')
            ? _json['followGaeApplication'] as core.String
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        secondaryZone: _json.containsKey('secondaryZone')
            ? _json['secondaryZone'] as core.String
            : null,
        zone: _json.containsKey('zone') ? _json['zone'] as core.String : null,
      );