Pet class

A row of the conformance pets table.

Constructors

Pet({required String name, required int ownerId, int? id})
Creates a pet row.

Properties

hashCode int
The hash code for this object.
no setterinherited
id int?
The auto-incremented primary key, null until inserted.
final
name String
The pet's name.
final
ownerId int
The users row this pet belongs to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited