GenerateDartModelX extension
Methods
-
copyWith(
{String? className, Set? fields, bool? shouldInherit, String? inheritanceConstructor, String? keyStringCase, String? description}) → GenerateDartModel -
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}) → 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.