Model.from constructor
Model.from(
- BaseModel? other
Implementation
factory Model.from(BaseModel? other) {
return Model(other?.toJson() ?? {});
}
factory Model.from(BaseModel? other) {
return Model(other?.toJson() ?? {});
}