FunctionMock.fromJson constructor
FunctionMock.fromJson(
- Map json_
Implementation
FunctionMock.fromJson(core.Map json_)
: this(
args: json_.containsKey('args')
? (json_['args'] as core.List)
.map((value) => Arg.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
function: json_.containsKey('function')
? json_['function'] as core.String
: null,
result: json_.containsKey('result')
? Result.fromJson(
json_['result'] as core.Map<core.String, core.dynamic>)
: null,
);