$create$ method

  1. @override
CameraInfo $create$(
  1. TypeChannelMessenger messenger,
  2. int cameraId,
  3. int facing,
  4. int orientation,
  5. bool? canDisableShutterSound,
)

Implementation

@override
CameraInfo $create$(
  TypeChannelMessenger messenger,
  int cameraId,
  int facing,
  int orientation,
  bool? canDisableShutterSound,
) {
  return CameraInfo(
    cameraId: cameraId,
    facing: facing,
    orientation: orientation,
    canDisableShutterSound: canDisableShutterSound,
  );
}