GoogleCloudFunctionsV2betaStateMessage.fromJson constructor

GoogleCloudFunctionsV2betaStateMessage.fromJson(
  1. Map _json
)

Implementation

GoogleCloudFunctionsV2betaStateMessage.fromJson(core.Map _json)
    : this(
        message: _json.containsKey('message')
            ? _json['message'] as core.String
            : null,
        severity: _json.containsKey('severity')
            ? _json['severity'] as core.String
            : null,
        type: _json.containsKey('type') ? _json['type'] as core.String : null,
      );