Note class

Note property.

Android allows multiple notes per contact; iOS/macOS allows only one.

iOS requires entitlements and FlutterContacts.config.enableIosNotes = true. See Apple's documentation.

Constructors

Note({required String note, PropertyMetadata? metadata})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
metadata PropertyMetadata?
Property identity metadata (used internally for updates).
final
note String
Note text.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? note, PropertyMetadata? metadata}) Note
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

Static Methods

fromJson(Map json) Note