WorkspaceBadge class

Available extensions
Annotations
  • @CopyWith.new()
  • @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

WorkspaceBadge({required String orgId, required int approvals, required int unread})
Returns a new WorkspaceBadge instance.
WorkspaceBadge.fromJson(Map<String, dynamic> json)
factory

Properties

approvals → int
final
copyWith → _$WorkspaceBadgeCWProxy

Available on WorkspaceBadge, provided by the $WorkspaceBadgeCopyWith extension

Returns a callable class used to build a new instance with modified fields. Example: instanceOfWorkspaceBadge.copyWith(...) or instanceOfWorkspaceBadge.copyWith.fieldName(...).
no setter
hashCode → int
The hash code for this object.
no setteroverride
orgId → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unread → int
final

Methods

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

Operators

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