CreatedBy class

Object representing a CreatedBy Field

Constructors

CreatedBy({String? displayValue, required String id, String name = '', required CreatedByType type})
Creates a new CreatedBy
const
CreatedBy.fromJson(dynamic json)
Creates a new CreatedBy Object from a json response
factory

Properties

displayValue String?
Display Value for the Reference If type is CreatedByType.user this will be the First Name Last Name of the user
final
hashCode int
The hash code for this object.
no setteroverride
id String
Id of the user
final
name String
Name of the User
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type CreatedByType
Type of the creating user
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, String?>
Maps the CreatedBy to a format the server can understand
toString() String
A string representation of this object.
override

Operators

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