// Before blank line

// After blank line

/// This is my class.
class MyClass {
  /// This is my num field.
  num myNumField;

  /// This is my num getter.
  num get myNumGetter => 1;

  /// This is my num setter.
  set myNumSetter(num value) {}

  /// This is my class constructor.
  MyClass();

  /// This is my class named constructor.
  MyClass.myNamed();

  /// This is my void returning method.
  void myVoidReturningMethod() {}

  /// This is my string returning method.
  String myStringReturningMethod() {
    return "";
  }

  /// This is my method taking a string.
  void methodTakingString(String a) {}

  /// This is my method taking a function.
  void methodTakingFunction(int Function(String) myFunc) {}
}

void doSomeStuff() {
  var a = new MyClass();
  var b = new MyClass.myNamed();
  print(a.myNumField);
  print(a.myNumGetter);
  a.myNumSetter = 1;
  print(b.myStringReturningMethod());
  b.myVoidReturningMethod();
  b.methodTakingString("Hello");
  b.methodTakingFunction((s) => print(s));
}

// Before blank line

// After blank line

/// This is my class.
class MyClass {
  /// This is my num field.
  num myNumField;

  /// This is my num getter.
  num get myNumGetter => 1;

  /// This is my num setter.
  set myNumSetter(num value) {}

  /// This is my class constructor.
  MyClass();

  /// This is my class named constructor.
  MyClass.myNamed();

  /// This is my void returning method.
  void myVoidReturningMethod() {}

  /// This is my string returning method.
  String myStringReturningMethod() {
    return "";
  }

  /// This is my method taking a string.
  void methodTakingString(String a) {}

  /// This is my method taking a function.
  void methodTakingFunction(void Function(String) myFunc) {}
}

void doSomeStuff() {
  var a = new MyClass();
  var b = new MyClass.myNamed();
  print(a.myNumField);
  print(a.myNumGetter);
  a.myNumSetter = 1;
  print(b.myStringReturningMethod());
  b.myVoidReturningMethod();
  b.methodTakingString("Hello");
  b.methodTakingFunction((s) => print(s));
}

Fix static error - Dart 2 symantics
Fix static error - Dart 2 symantics
