baseModel top-level constant
String
const baseModel
Implementation
const baseModel = """
// to control every model
abstract class BaseModel<T> {
T fromJson(Map<String, dynamic> json);
Map<String, dynamic> toJson();
}
""";