Update elastik_carpisma.dart

Do not use deprecated method.