LocationPolicyLocation.fromJson constructor

LocationPolicyLocation.fromJson(
  1. Map json_
)

Implementation

LocationPolicyLocation.fromJson(core.Map json_)
    : this(
        constraints: json_.containsKey('constraints')
            ? LocationPolicyLocationConstraints.fromJson(
                json_['constraints'] as core.Map<core.String, core.dynamic>)
            : null,
        preference: json_.containsKey('preference')
            ? json_['preference'] as core.String
            : null,
      );