checkCamera method
Implementation
Future<List<dynamic>> checkCamera(BuildContext context,
{CameraPick? camerapick, int? timeEnd}) async {
List<dynamic> list = [];
await SellonRouter.push(
context,
CameraAndroidOnly(
isTakeVideo: false,
timeEnd: timeEnd!,
// cameraPick: camerapick,
)).then((value) async {
if (value != null) {
if (value is List<ImageModulModel>) {
list = value;
}else{
list = value;
}
} else {}
});
return list;
}