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((value) => value as core.int)
                .toList()
            : null,
      );