Map<String, dynamic> toMap() => { "recordVideoSecond": recordVideoSecond, "maxSelectNum": maxSelectNum, "type": type.str, "isCamera": isCamera };