PeamanMoment class

Constructors

PeamanMoment({String? id, String? ownerId, List<PeamanMomentPicture> pictures = const <PeamanMomentPicture>[], int? views = 0, int? expiresAt, int? createdAt, int? updatedAt, bool visibility = true, Map<String, dynamic> extraData = const {}})

Properties

createdAt int?
final
expiresAt int?
final
extraData Map<String, dynamic>
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
ownerId String?
final
pictures List<PeamanMomentPicture>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt int?
final
views int?
final
visibility bool
final

Methods

copyWith({String? id, String? ownerId, List<PeamanMomentPicture>? pictures, int? views, int? expiresAt, int? createdAt, int? updatedAt, bool? visibility, Map<String, dynamic>? extraData}) PeamanMoment
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

Static Methods

fromJson(Map<String, dynamic> data) PeamanMoment