Rest constructor
const
Rest({})
Creates a new Rest instance.
Only required when the default behavior is not desired.
Implementation
const Rest({
this.defaultValue,
bool? enumAsString,
this.fromGenerator,
bool? ignore,
bool? ignoreFrom,
bool? ignoreTo,
this.name,
bool? nullable,
this.toGenerator,
}) : enumAsString = enumAsString ?? false,
ignore = ignore ?? false,
ignoreFrom = ignoreFrom ?? false,
ignoreTo = ignoreTo ?? false,
nullable = nullable ?? false;