LastSeenObjectIdEvent.fromJson constructor

LastSeenObjectIdEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LastSeenObjectIdEvent.fromJson(Map<String, dynamic> json) {
  return LastSeenObjectIdEvent(
    lastSeenObjectId: json['lastSeenObjectId'] as int,
    timestamp: json['timestamp'] as num,
  );
}