NmCounterparty class
A counterparty in the tax radar.
Constructors
-
NmCounterparty({required String id, required String name, required NmCounterpartyType type, required double angle, required double distance, NmRelationshipHealth health = NmRelationshipHealth.unknown, int interactionCount = 0, DateTime? lastActivity, List<
NmActivityItem> recentActivities = const []}) -
Creates a NmCounterparty.
const
Properties
- angle → double
-
Angle.
final
- distance → double
-
Distance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- health → NmRelationshipHealth
-
Health.
final
- id → String
-
Id.
final
- interactionCount → int
-
Interaction count.
final
- lastActivity → DateTime?
-
Last activity.
final
- name → String
-
Name.
final
- nodeSize → double
-
Size of the node based on interaction count.
no setter
-
recentActivities
→ List<
NmActivityItem> -
Recent activities.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → NmCounterpartyType
-
Type.
final
Methods
-
copyWith(
{String? id, String? name, NmCounterpartyType? type, double? angle, double? distance, NmRelationshipHealth? health, int? interactionCount, DateTime? lastActivity, List< NmActivityItem> ? recentActivities}) → NmCounterparty - Copy with.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited