replaceAnimation method

  1. @override
Future<void> replaceAnimation(
  1. SimpleDirectionAnimation newAnimation, {
  2. bool doIdle = false,
})
override

Implementation

@override
Future<void> replaceAnimation(
  SimpleDirectionAnimation newAnimation, {
  bool doIdle = false,
}) {
  throw Exception(
    'In PlatformPlayer update animation using replacePlatformAnimation',
  );
}