factory Content.fromMap(Map<String, Object?> value) { assert(value.containsKey(Keys.type)); return Content._(value); }