$PlusCode.fromJson constructor

$PlusCode.fromJson(
  1. Map json_
)

Implementation

$PlusCode.fromJson(core.Map json_)
    : this(
        compoundCode: json_.containsKey('compoundCode')
            ? json_['compoundCode'] as core.String
            : null,
        globalCode: json_.containsKey('globalCode')
            ? json_['globalCode'] as core.String
            : null,
      );