GoogleCloudFunctionsV2StateMessage.fromJson constructor

GoogleCloudFunctionsV2StateMessage.fromJson(
  1. Map json_
)

Implementation

GoogleCloudFunctionsV2StateMessage.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,
      );