encode static method
Implementation
static Map<String, dynamic> encode(FrontEndMigration value) {
Map<String, dynamic> entityAsMap = {
"id" : value.id,
"rev" : value.rev,
"deletionDate" : value.deletionDate,
"name" : value.name,
"startDate" : value.startDate,
"endDate" : value.endDate,
"status" : value.status == null ? null : FrontEndMigrationStatus.encode(value.status!),
"logs" : value.logs,
"userId" : value.userId,
"startKey" : value.startKey,
"startKeyDocId" : value.startKeyDocId,
"processCount" : value.processCount,
"properties" : value.properties.map((x0) => DecryptedPropertyStub.encode(x0)).toList()
};
return entityAsMap;
}