CallFunctionResponse.fromJson constructor

CallFunctionResponse.fromJson(
  1. Map json_
)

Implementation

CallFunctionResponse.fromJson(core.Map json_)
    : this(
        error:
            json_.containsKey('error') ? json_['error'] as core.String : null,
        executionId: json_.containsKey('executionId')
            ? json_['executionId'] as core.String
            : null,
        result: json_.containsKey('result')
            ? json_['result'] as core.String
            : null,
      );