Damage class

Constructors

Damage({String? classUuid, String? location, int? claimId, String? imageId, bool? isMaskDuplicate, String? damageTypeName, String? damageTypeColor, num? score, List<num?>? box, String? maskPath, bool? isPart, num? overlapRate, String? className, String? damageKey, String? damageColor, String? maskUrl})
const
Damage.fromJson(Map<String, dynamic> json)
factory

Properties

box List<num?>?
final
claimId int?
final
className String?
final
classUuid String?
final
damageColor String?
final
damageKey String?
final
damageTypeColor String?
final
damageTypeName String?
final
hashCode int
The hash code for this object.
no setterinherited
imageId String?
final
isMaskDuplicate bool?
final
isPart bool?
final
location String?
final
maskPath String?
final
maskUrl String?
final
overlapRate num?
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score num?
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({num? score, List<num?>? box, String? maskPath, bool? isPart, num? overlapRate, String? className, String? damageKey, String? damageColor, String? maskUrl, String? classUuid, String? location, int? claimId, String? imageId, bool? isMaskDuplicate, String? damageTypeName, String? damageTypeColor}) Damage
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