SafeHtmlProto.fromJson constructor

SafeHtmlProto.fromJson(
  1. Map _json
)

Implementation

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