UserRegistration class
Constructors
- UserRegistration({required int year, required int term, String? className, EnrollmentStatus? enrollmentStatus})
-
const
-
UserRegistration.fromJson(Map<
String, dynamic> json, {ValueSerializer? serializer}) -
factory
Properties
- className → String?
-
final
- enrollmentStatus → EnrollmentStatus?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- term → int
-
final
- year → int
-
final
Methods
-
copyWith(
{int? year, int? term, Value< String?> className = const Value.absent(), Value<EnrollmentStatus?> enrollmentStatus = const Value.absent()}) → UserRegistration -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{ValueSerializer? serializer}) → Map< String, dynamic> -
Converts this object into a representation that can be encoded with
json. Theserializercan be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.override -
toJsonString(
{ValueSerializer? serializer}) → String -
Converts this object into a json representation. The
serializercan be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.inherited -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override