LocationContext.fromJson constructor

LocationContext.fromJson(
  1. Map _json
)

Implementation

LocationContext.fromJson(core.Map _json)
    : this(
        geoCriteriaIds: _json.containsKey('geoCriteriaIds')
            ? (_json['geoCriteriaIds'] as core.List)
                .map<core.int>((value) => value as core.int)
                .toList()
            : null,
      );