getContactImage method

  1. @override
Future<Uint8List?> getContactImage(
  1. Object? identifier
)
override

Implementation

@override
Future<Uint8List?> getContactImage(Object? identifier) async {
  if (identifier == null) return null;

  final data = await channel.invokeMethod('getContactImage',
      {'identifier': ContactKeys.of(mode, identifier).toMap()});
  return data as Uint8List?;
}