Relation class

A person's relation to another person.

Constructors

Relation({String? formattedType, FieldMetadata? metadata, String? person, String? type})
Relation.fromJson(Map json_)

Properties

formattedType String?
The type of the relation translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
metadata FieldMetadata?
Metadata about the relation.
getter/setter pair
person String?
The name of the other person this relation refers to.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
The person's relation to the other person.
getter/setter pair

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.
inherited

Operators

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