Job class

This class models a reference to a job.

Implemented types
Annotations

Constructors

Job({required String company, String department = '', String jobTitle = ''})
A reference to a job.
const
Job.fromMap(Map<String, dynamic> map)
Creates a Job instance starting from a Map<String, dynamic> map.

Properties

company String
The company where or for which this job takes place.
final
department String
The department where this job takes place.
final
hashCode int
The hash code for this object.
no setteroverride
jobTitle String
The title of this job.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(covariant Job other) int
The order of the comparisons is:
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Creates a Map<String, dynamic> map representation of this instance.
toString() String
A string representation of this object.
inherited

Operators

operator <(covariant Job other) bool
Returns if this instance is less than the other.
operator <=(covariant Job other) bool
Return if this instance is less than or equal to the other.
operator ==(covariant Job other) bool
The equality operator.
override
operator >(covariant Job other) bool
Return if this instance is greater than the other.
operator >=(covariant Job other) bool
Return if this instance is greater than or equal to the other.