AspectRatio class

Annotations
  • @freezed

Constructors

AspectRatio({required int width, required int height})
const
factory
AspectRatio.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $AspectRatioCopyWith<AspectRatio>
Create a copy of AspectRatio with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this AspectRatio to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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