write method

  1. @override
Method write()
override

Implementation

@override
Method write() {
  final methodBuilder = MethodBuilder()..body = Code(_generateMethodBody());
  _helper.addChangeMethodSignature(methodBuilder);
  return methodBuilder.build();
}