ConfigEdits.fromMap constructor
Create the object from a Map<String, dynamic>
Implementation
factory ConfigEdits.fromMap(Map<String, dynamic> map) {
return ConfigEdits(
isText: map['isText'] as bool,
n: map['n'] != null ? map['n'] as int : null,
temperature:
map['temperature'] != null ? map['temperature'] as double : null,
topP: map['top_p'] != null ? map['topP'] as int : null,
);
}