TargetLocation.fromJson constructor

TargetLocation.fromJson(
  1. Map json_
)

Implementation

TargetLocation.fromJson(core.Map json_)
    : this(
        address: json_.containsKey('address')
            ? json_['address'] as core.String
            : null,
        locationName: json_.containsKey('locationName')
            ? json_['locationName'] as core.String
            : null,
      );