Skip to content

Commit bdc3467

Browse files
committed
pub get and format
1 parent 18d6877 commit bdc3467

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

lib/src/builder/codegen/accessors_generator.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,9 @@ class _TypedMapMixinAccessorsGenerator extends TypedMapAccessorsGenerator {
363363

364364
@override
365365
void generate() {
366-
outputContentsBuffer..write(_generateAccessorsMixin())..write(_generateMetaConstImpl());
366+
outputContentsBuffer
367+
..write(_generateAccessorsMixin())
368+
..write(_generateMetaConstImpl());
367369
}
368370
}
369371

lib/src/builder/codegen/component_factory_generator.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ class ComponentFactoryProxyGenerator extends BoilerplateDeclarationGenerator {
100100
outputContentsBuffer.writeln(' skipMethods: const [],');
101101
}
102102

103-
outputContentsBuffer..writeln(');')..writeln();
103+
outputContentsBuffer
104+
..writeln(');')
105+
..writeln();
104106
}
105107
}

lib/src/builder/codegen/typed_map_impl_generator.dart

+6-2
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ abstract class TypedMapImplGenerator extends BoilerplateDeclarationGenerator {
153153
classDeclaration.write('abstract ');
154154
}
155155

156-
classDeclaration..write(_generateImplClassHeader())..write(' {');
156+
classDeclaration
157+
..write(_generateImplClassHeader())
158+
..write(' {');
157159

158160
final propsOrState = isProps ? 'props' : 'state';
159161

@@ -235,7 +237,9 @@ abstract class TypedMapImplGenerator extends BoilerplateDeclarationGenerator {
235237
// Component2-specific classes
236238
if (isComponent2) {
237239
// TODO need to remove this workaround once https://github.com/dart-lang/sdk/issues/36217 is fixed get nice dart2js output
238-
buffer..writeln()..writeln('''
240+
buffer
241+
..writeln()
242+
..writeln('''
239243
// Concrete $propsOrState implementation that can be backed by any [Map].
240244
${internalGeneratedMemberDeprecationLine()}class ${names.plainMapImplName}$typeParamsOnClass extends ${names.implName}$typeParamsOnSuper {
241245
// This initializer of `_$propsOrState` to an empty map, as well as the reassignment

0 commit comments

Comments
 (0)