$Site.fromJson constructor

$Site.fromJson(
  1. Map json_
)

Implementation

$Site.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        urlOrAppId: json_.containsKey('urlOrAppId')
            ? json_['urlOrAppId'] as core.String
            : null,
      );