fromEnum static method

ConnectionStyle fromEnum(
  1. dynamic enumValue
)

Convert from legacy enum values to connection style instances

Implementation

static ConnectionStyle fromEnum(dynamic enumValue) {
  // This will be implemented once we have the concrete classes
  throw UnimplementedError(
    'fromEnum will be implemented with concrete classes',
  );
}