WebAsset.fromJson constructor Null safety

WebAsset.fromJson(
  1. Map _json
)

Implementation

WebAsset.fromJson(core.Map _json)
    : this(
        site: _json.containsKey('site') ? _json['site'] as core.String : null,
      );