Official class

Information about a person holding an elected office.

Constructors

Official({List<SimpleAddressType>? address, List<Channel>? channels, List<String>? emails, String? name, String? party, List<String>? phones, String? photoUrl, List<String>? urls})
Official.fromJson(Map json_)

Properties

address List<SimpleAddressType>?
Addresses at which to contact the official.
getter/setter pair
channels List<Channel>?
A list of known (social) media channels for this official.
getter/setter pair
emails List<String>?
The direct email addresses for the official.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The official's name.
getter/setter pair
party String?
The full name of the party the official belongs to.
getter/setter pair
phones List<String>?
The official's public contact phone numbers.
getter/setter pair
photoUrl String?
A URL for a photo of the official.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urls List<String>?
The official's public website URLs.
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