ProfileJson class abstract

An implementation that allows Profile can be store under JSON format.

Implemented types

Constructors

ProfileJson()

Properties

animal Animal
Animal type of this Profile.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String
User name of this Profile.
no setterinherited
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
toData() Json
Alias method for returning collections T in this class.
override
toJson() Json
Convert Profile data to JSON format.
toString() String
A string representation of this object.
inherited
updateAnimal(Animal animal) Profile
Return a Profile with updated animal.
inherited
updateName(String name) Profile
Return a Profile with updated name.
inherited

Operators

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