contants_select_platform_interface.dart 1.13 KB
import 'package:plugin_platform_interface/plugin_platform_interface.dart';

import 'contants_select_method_channel.dart';

abstract class ContantsSelectPlatform extends PlatformInterface {
  /// Constructs a ContantsSelectPlatform.
  ContantsSelectPlatform() : super(token: _token);

  static final Object _token = Object();

  static ContantsSelectPlatform _instance = MethodChannelContantsSelect();

  /// The default instance of [ContantsSelectPlatform] to use.
  ///
  /// Defaults to [MethodChannelContantsSelect].
  static ContantsSelectPlatform get instance => _instance;

  /// Platform-specific implementations should set this with their own
  /// platform-specific class that extends [ContantsSelectPlatform] when
  /// they register themselves.
  static set instance(ContantsSelectPlatform instance) {
    PlatformInterface.verifyToken(instance, _token);
    _instance = instance;
  }

  Future<String?> getPlatformVersion() {
    throw UnimplementedError('platformVersion() has not been implemented.');
  }



   Future<List<dynamic>?> getContact(bool isMultiSelect) {
    throw UnimplementedError('getContact() has not been implemented.');
  }
}