ScamInfo class

Represents information about potential scams.

Annotations
  • @immutable
  • @JsonSerializable(explicitToJson: true)

Constructors

ScamInfo.new({String? info})
Creates an instance of ScamInfo.
ScamInfo.fromJson(Map<String, dynamic> json)
Creates a ScamInfo instance from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
info String?
Information about the scam.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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