PropertyListSerialization class

Constructors

PropertyListSerialization()

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 Methods

dataWithPropertyList(Object obj) ByteData
For the object graph provided, returns a property list as binary ByteData. Equivalent to iOS method [NSPropertyList dataWithPropertyList:format:options:error]
propertyListWithData(ByteData data, {bool keyedArchive = false}) Object
Creates and returns an object graph from the specified property list binary ByteData. Equivalent to iOS method [NSPropertyList propertyListWithData:options:format:error]
propertyListWithString(String string) Object
Creates and returns a property list from the specified xml String. Equivalent to iOS method [NSPropertyList propertyListWithData:options:format:error]
stringWithPropertyList(Object obj) String
For the object graph provided, returns a property list as an xml String. Equivalent to iOS method [NSPropertyList dataWithPropertyList:format:options:error]