ContactInput class

Annotations
  • @unfreezed

Constructors

ContactInput({String? description, String? emailAddress, String? phoneNumber, required ContactType type})
factory
ContactInput.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $ContactInputCopyWith<ContactInput>
Create a copy of ContactInput with the given fields replaced by the non-null parameter values.
no setterinherited
description ↔ String?
getter/setter pairinherited
emailAddress ↔ String?
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
phoneNumber ↔ String?
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ ContactType
getter/setter pairinherited

Methods

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

Operators

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