MapiTypeConverter class

Utility class to convert between MAPI Property type values and strings.

Constructors

MapiTypeConverter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

MapiTypeConverterMap LazyMember<Map<MapiPropertyType, MapiTypeConverterMapEntry>>
Assume DateTime values are in UTC.
getter/setter pair

Static Methods

ChangeType(MapiPropertyType? mapiType, Object? value) Object?
Change value to a value of compatible type.
ConvertToString(MapiPropertyType? mapiPropType, Object? value) String
Converts a value to a string.
ConvertToValue(MapiPropertyType? mapiPropType, Iterable<String?> strings) List
Converts the String list to array.
ConvertToValueWithStringValue(MapiPropertyType? mapiPropType, String? stringValue) Object?
Converts a String to value consistent with MAPI type.
IsArrayType(MapiPropertyType? mapiType) bool
Converts a MAPI Integer value.