factory IdBean.fromJson(Map<String, Object?> json) { return IdBean( id: (json[r'id'] as num?)?.toInt() ?? 0, ); }