retrieve method
Implementation
@override
Future<Avatar?>retrieve({required String id}) async {
final result = await _methodChannel.invokeMethod('retrieve', id);
return result != null ? Avatar.fromJson(Map<String, dynamic>.from(result)) : null;
}
@override
Future<Avatar?>retrieve({required String id}) async {
final result = await _methodChannel.invokeMethod('retrieve', id);
return result != null ? Avatar.fromJson(Map<String, dynamic>.from(result)) : null;
}