UserIm class

JSON template for instant messenger of an user.


UserIm.fromJson(Map _json)


customProtocol String
Custom protocol.
read / write
customType String
Custom type.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
im String
Instant messenger id.
read / write
primary bool
If this is user's primary im. Only one entry could be marked as primary.
read / write
protocol String
Protocol used in the instant messenger. It should be one of the values from ImProtocolTypes map. Similar to type it can take a CUSTOM value and specify the custom name in customProtocol field.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
Each entry can have a type which indicates standard types of that entry. For example instant messengers could be of home work etc. In addition to the standard type an entry can have a custom type and can take any value. Such types should have the CUSTOM value as type and also have a customType value.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]