FunctionCall.fromJson constructor

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

Creates a FunctionCall instance from a JSON map.

Implementation

factory FunctionCall.fromJson(Map<String, dynamic> json) => FunctionCall(
  name: json['name'] as String,
  args: Map<String, dynamic>.from(json['args'] ?? {}),
);