blob: cb59d750c158d4ba2e4627fe5bc66964eaf02ad6 [file] [log] [blame]
40 columns |
>>> prefers to wrap at => before params
class Foo {
Stream methodName(AssetId id) => methodBodyHereItIs;
}
<<<
class Foo {
Stream methodName(AssetId id) =>
methodBodyHereItIs;
}
>>> can split on getter
class Foo {
VeryLongTypeAnnotation get veryLongGetter => null;
}
<<<
class Foo {
VeryLongTypeAnnotation
get veryLongGetter => null;
}
>>> can split on setter
class Foo {
VeryLongTypeAnnotation set veryLongSetter(v) {}
}
<<<
class Foo {
VeryLongTypeAnnotation
set veryLongSetter(v) {}
}