IconPosition class

A class that represents a position of an icon in an emblem

Constructors

IconPosition({required double x, required double y, required double size})
const
IconPosition.fromJson(String source)
factory
IconPosition.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
The width and height of the icon
final
x double
The x position of the icon
final
y double
The y position of the icon
final

Methods

copyWith({double? x, double? y, double? size}) IconPosition
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(covariant IconPosition other) bool
The equality operator.
override