Map<String, dynamic> toMap() { return <String, dynamic>{ 'snapshotTime': snapshotTime, 'status': status, 'type': type, }; }