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