Image class

The DM used for fields that are in contents.json

Constructors

Image({required String idiom, required String filename, required String scale})
const
Image.fromJson(Map<String, dynamic> json)
factory

Properties

filename String
final
hashCode int
The hash code for this object.
no setterinherited
idiom String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale String
final

Methods

copyWith({String? idiom, String? filename, String? scale}) Image
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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