GenerateDartModelX extension
Methods
-
copyWith(
{String? className, Set? fields, bool? shouldInherit, String? inheritanceConstructor, String? keyStringCase, String? description, String? tableName, String? schema, List< Map< ? indexes}) → GenerateDartModelString, dynamic> > -
Available on GenerateDartModel, provided by the GenerateDartModelX extension
Creates a copy of this instance, replacing the specified fields. -
copyWithout(
{bool className = true, bool fields = true, bool shouldInherit = true, bool inheritanceConstructor = true, bool keyStringCase = true, bool description = true, bool tableName = true, bool schema = true, bool indexes = true}) → GenerateDartModel -
Available on GenerateDartModel, provided by the GenerateDartModelX extension
Creates a copy of this instance, removing the specified fields. -
mergeWith(
BaseModel? other, {bool deepMerge = false}) → GenerateDartModel -
Available on GenerateDartModel, provided by the GenerateDartModelX extension
Creates a copy of this instance, merging another model's fields into this model's fields.