MongoLong class
Helper model for MongoDB long number representation - Fixed BSON format
- Annotations
-
- @JsonSerializable.new()
Constructors
- MongoLong(String value)
-
const
- MongoLong.fromInt(int number)
-
factory
-
MongoLong.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toInt(
) → int -
toJson(
) → Map< String, dynamic> - Custom toJson to ensure proper BSON format
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited