Assistant.fromMap constructor

Assistant.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Assistant.fromMap(Map<String, dynamic> map) {
  return Assistant(
    id: map['id'],
    name: map['name'],
    model: map['model'],
    instructions: map['instructions'],
    description: map['description'],
  );
}