checkCameraVideo method
Implementation
Future<List<dynamic>?> checkCameraVideo(BuildContext context,
{CameraPick? camerapick, int? timeEnd}) async {
List<dynamic>? file;
await SellonRouter.push(
context,
// Platform.isAndroid
// ?
CameraAndroidOnly(
isTakeVideo: true,
timeEnd: timeEnd!,
)
// : CameraRealSellon(
// cameraPick: camerapick,
// )
).then((value) async {
if (value != null) {
if (value is List<File>) {
file = value;
}else{
file = value;
}
} else {}
});
return file;
}