MPIconSize class

Class to hold height and width information for an icon

Inheritance

Constructors

MPIconSize({required int height, required int width})
Construct a size from a height and a width

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the MPIconSize to a JSON representation that can be parsed by the MapsIndoors Platform SDK
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(dynamic json) MPIconSize?
Attempts to build a MPIconSize from a JSON object, this method will decode the object if needed