toEJson method

dynamic toEJson()

Implementation

EJsonValue toEJson() {
  return <String, dynamic>{
    '_id': id.toEJson(),
    'uid': uid.toEJson(),
    'collection': collection.toEJson(),
    'entityId': entityId.toEJson(),
    'payloadJson': payloadJson.toEJson(),
    'createdAt': createdAt.toEJson(),
    'lastAttemptAt': lastAttemptAt.toEJson(),
    'attempts': attempts.toEJson(),
  };
}