FunctionObject.fromJson constructor

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

Implementation

factory FunctionObject.fromJson(Map<String, dynamic> json) => FunctionObject(
      name: json['name'] as String,
      description: json['description'] as String?,
      parameters: json['parameters'] as Map<String, dynamic>?,
      strict: json['strict'] as bool?,
    );