isGenerated method

  1. @override
bool isGenerated(
  1. ClassMember member
)

Implementation

@override
bool isGenerated(ClassMember member) {
  return member is MethodDeclaration &&
      (getMethodName(member) == 'toMap' ||
          getMethodName(member) == 'fromMap' ||
          getMethodName(member) == 'patch');
}