FunctionCallResult.fromJson constructor

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

Implementation

factory FunctionCallResult.fromJson(Map<String, dynamic> json) {
  return FunctionCallResult(
    name: json['name'] as String? ?? '',
    arguments: json['arguments'] as String? ?? '{}',
  );
}