FunctionCall.fromJson constructor

FunctionCall.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FunctionCall.fromJson(Map<String, dynamic> json) {
  return FunctionCall(
    id: json['id'] ?? '',
    name: json['name'] ?? '',
    args: decodeCustom(json['args'], Struct.fromJson),
  );
}