accessSource method

Future<bool> accessSource(
  1. SCAccessSourceModel model
)

资源访问 action 页面动作

Implementation

Future<bool> accessSource(SCAccessSourceModel model) async {
  if (!_supportPlatform || !isInitialize) return false;
  final bool? state =
      await _channel.invokeMethod<bool>('accessSource', model.toMap());
  return state ?? false;
}