anchor.diff:    }
   
     /// update model to view
  -  writeValue(_value) {
  -    onChange((value = preValue = _value ??= 0).toString());
  +  void writeValue(_value) {
  +    onChange((value = preValue = _value ??= 0));
     }
   
     /// build the template of the objects that will be rendered
  
positive.code:   }
  
    /// fired when the mouse leave the icon, and it resets the [value] of the rating
    reset() {
      value = preValue;
      _onLeaveCtrl.add(value);
    }
  
    /// listen when the user does a key-down on the elements
    @HostListener('keydown', const ['\$event'])
    onKeydown(KeyboardEvent event) {
      if (![KeyCode.LEFT, KeyCode.UP, KeyCode.RIGHT, KeyCode.DOWN].contains(event.which)) {
        return;
      }
  
negative.code: import 'dart:html';
  import 'package:node_shims/js.dart';
  import 'package:angular_forms/angular_forms.dart';
  
  
  const RATING_VALUE_ACCESSOR = const ExistingProvider.forToken(
    ngValueAccessor,
    BsRatingComponent,
  );
  
  /// Rating component that will take care of visualising a star rating bar
  ///
  