|  | // Copyright (c) 2018, the Dart project authors.  Please see the AUTHORS file | 
|  | // for details. All rights reserved. Use of this source code is governed by a | 
|  | // BSD-style license that can be found in the LICENSE file. | 
|  |  | 
|  | // NOTE: THIS FILE IS GENERATED. DO NOT EDIT. | 
|  | // | 
|  | // Instead modify 'pkg/front_end/messages.yaml' and run | 
|  | // 'pkg/front_end/tool/fasta generate-messages' to update. | 
|  |  | 
|  | // ignore_for_file: lines_longer_than_80_chars | 
|  |  | 
|  | part of fasta.codes; | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)> templateAmbiguousSupertypes = | 
|  | const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""'#name' can't implement both '#type' and '#type2'""", | 
|  | withArguments: _withArgumentsAmbiguousSupertypes); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)> codeAmbiguousSupertypes = | 
|  | const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)>( | 
|  | "AmbiguousSupertypes", templateAmbiguousSupertypes, | 
|  | analyzerCodes: <String>["AMBIGUOUS_SUPERTYPES"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsAmbiguousSupertypes( | 
|  | String name, DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeAmbiguousSupertypes, | 
|  | message: """'${name}' can't implement both '${type}' and '${type2}'""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateArgumentTypeNotAssignable = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The argument type '#type' can't be assigned to the parameter type '#type2'.""", | 
|  | withArguments: _withArgumentsArgumentTypeNotAssignable); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeArgumentTypeNotAssignable = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "ArgumentTypeNotAssignable", templateArgumentTypeNotAssignable, | 
|  | analyzerCodes: <String>["ARGUMENT_TYPE_NOT_ASSIGNABLE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsArgumentTypeNotAssignable( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeArgumentTypeNotAssignable, | 
|  | message: | 
|  | """The argument type '${type}' can't be assigned to the parameter type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | templateConstEvalCaseImplementsEqual = const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Case expression '#constant' does not have a primitive operator '=='.""", | 
|  | withArguments: _withArgumentsConstEvalCaseImplementsEqual); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | codeConstEvalCaseImplementsEqual = const Code< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | "ConstEvalCaseImplementsEqual", | 
|  | templateConstEvalCaseImplementsEqual, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalCaseImplementsEqual( | 
|  | Constant _constant, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | String constant = constantParts.join(); | 
|  | return new Message(codeConstEvalCaseImplementsEqual, | 
|  | message: | 
|  | """Case expression '${constant}' does not have a primitive operator '=='.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'constant': _constant}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | templateConstEvalDuplicateElement = const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The element '#constant' conflicts with another existing element in the set.""", | 
|  | withArguments: _withArgumentsConstEvalDuplicateElement); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | codeConstEvalDuplicateElement = const Code< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | "ConstEvalDuplicateElement", templateConstEvalDuplicateElement, | 
|  | analyzerCodes: <String>["EQUAL_ELEMENTS_IN_CONST_SET"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalDuplicateElement( | 
|  | Constant _constant, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | String constant = constantParts.join(); | 
|  | return new Message(codeConstEvalDuplicateElement, | 
|  | message: | 
|  | """The element '${constant}' conflicts with another existing element in the set.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'constant': _constant}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | templateConstEvalDuplicateKey = const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The key '#constant' conflicts with another existing key in the map.""", | 
|  | withArguments: _withArgumentsConstEvalDuplicateKey); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | codeConstEvalDuplicateKey = const Code< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | "ConstEvalDuplicateKey", templateConstEvalDuplicateKey, | 
|  | analyzerCodes: <String>["EQUAL_KEYS_IN_CONST_MAP"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalDuplicateKey( | 
|  | Constant _constant, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | String constant = constantParts.join(); | 
|  | return new Message(codeConstEvalDuplicateKey, | 
|  | message: | 
|  | """The key '${constant}' conflicts with another existing key in the map.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'constant': _constant}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | templateConstEvalElementImplementsEqual = const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The element '#constant' does not have a primitive operator '=='.""", | 
|  | withArguments: _withArgumentsConstEvalElementImplementsEqual); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | codeConstEvalElementImplementsEqual = const Code< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | "ConstEvalElementImplementsEqual", | 
|  | templateConstEvalElementImplementsEqual, | 
|  | analyzerCodes: <String>["CONST_SET_ELEMENT_TYPE_IMPLEMENTS_EQUALS"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalElementImplementsEqual( | 
|  | Constant _constant, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | String constant = constantParts.join(); | 
|  | return new Message(codeConstEvalElementImplementsEqual, | 
|  | message: | 
|  | """The element '${constant}' does not have a primitive operator '=='.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'constant': _constant}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateConstEvalFreeTypeParameter = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The type '#type' is not a constant because it depends on a type parameter, only instantiated types are allowed.""", | 
|  | withArguments: _withArgumentsConstEvalFreeTypeParameter); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeConstEvalFreeTypeParameter = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "ConstEvalFreeTypeParameter", | 
|  | templateConstEvalFreeTypeParameter, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalFreeTypeParameter( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeConstEvalFreeTypeParameter, | 
|  | message: | 
|  | """The type '${type}' is not a constant because it depends on a type parameter, only instantiated types are allowed.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(String string, Constant _constant, DartType _type, | 
|  | DartType _type2, bool isNonNullableByDefault)> | 
|  | templateConstEvalInvalidBinaryOperandType = const Template< | 
|  | Message Function(String string, Constant _constant, DartType _type, | 
|  | DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Binary operator '#string' on '#constant' requires operand of type '#type', but was of type '#type2'.""", | 
|  | withArguments: _withArgumentsConstEvalInvalidBinaryOperandType); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String string, Constant _constant, DartType _type, | 
|  | DartType _type2, bool isNonNullableByDefault)> | 
|  | codeConstEvalInvalidBinaryOperandType = const Code< | 
|  | Message Function(String string, Constant _constant, DartType _type, | 
|  | DartType _type2, bool isNonNullableByDefault)>( | 
|  | "ConstEvalInvalidBinaryOperandType", | 
|  | templateConstEvalInvalidBinaryOperandType, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalInvalidBinaryOperandType( | 
|  | String string, | 
|  | Constant _constant, | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool isNonNullableByDefault) { | 
|  | if (string.isEmpty) throw 'No string provided'; | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String constant = constantParts.join(); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeConstEvalInvalidBinaryOperandType, | 
|  | message: | 
|  | """Binary operator '${string}' on '${constant}' requires operand of type '${type}', but was of type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: { | 
|  | 'string': string, | 
|  | 'constant': _constant, | 
|  | 'type': _type, | 
|  | 'type2': _type2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | Constant _constant, DartType _type, bool isNonNullableByDefault)> | 
|  | templateConstEvalInvalidEqualsOperandType = const Template< | 
|  | Message Function(Constant _constant, DartType _type, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Binary operator '==' requires receiver constant '#constant' of type 'Null', 'bool', 'int', 'double', or 'String', but was of type '#type'.""", | 
|  | withArguments: _withArgumentsConstEvalInvalidEqualsOperandType); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | Constant _constant, DartType _type, bool isNonNullableByDefault)> | 
|  | codeConstEvalInvalidEqualsOperandType = const Code< | 
|  | Message Function( | 
|  | Constant _constant, DartType _type, bool isNonNullableByDefault)>( | 
|  | "ConstEvalInvalidEqualsOperandType", | 
|  | templateConstEvalInvalidEqualsOperandType, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalInvalidEqualsOperandType( | 
|  | Constant _constant, DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String constant = constantParts.join(); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeConstEvalInvalidEqualsOperandType, | 
|  | message: | 
|  | """Binary operator '==' requires receiver constant '${constant}' of type 'Null', 'bool', 'int', 'double', or 'String', but was of type '${type}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'constant': _constant, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String string, Constant _constant, bool isNonNullableByDefault)> | 
|  | templateConstEvalInvalidMethodInvocation = const Template< | 
|  | Message Function(String string, Constant _constant, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The method '#string' can't be invoked on '#constant' in a constant expression.""", | 
|  | withArguments: _withArgumentsConstEvalInvalidMethodInvocation); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String string, Constant _constant, bool isNonNullableByDefault)> | 
|  | codeConstEvalInvalidMethodInvocation = const Code< | 
|  | Message Function(String string, Constant _constant, | 
|  | bool isNonNullableByDefault)>( | 
|  | "ConstEvalInvalidMethodInvocation", | 
|  | templateConstEvalInvalidMethodInvocation, | 
|  | analyzerCodes: <String>["UNDEFINED_OPERATOR"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalInvalidMethodInvocation( | 
|  | String string, Constant _constant, bool isNonNullableByDefault) { | 
|  | if (string.isEmpty) throw 'No string provided'; | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | String constant = constantParts.join(); | 
|  | return new Message(codeConstEvalInvalidMethodInvocation, | 
|  | message: | 
|  | """The method '${string}' can't be invoked on '${constant}' in a constant expression.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'string': string, 'constant': _constant}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String string, Constant _constant, bool isNonNullableByDefault)> | 
|  | templateConstEvalInvalidPropertyGet = const Template< | 
|  | Message Function(String string, Constant _constant, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The property '#string' can't be accessed on '#constant' in a constant expression.""", | 
|  | withArguments: _withArgumentsConstEvalInvalidPropertyGet); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String string, Constant _constant, bool isNonNullableByDefault)> | 
|  | codeConstEvalInvalidPropertyGet = const Code< | 
|  | Message Function(String string, Constant _constant, | 
|  | bool isNonNullableByDefault)>( | 
|  | "ConstEvalInvalidPropertyGet", templateConstEvalInvalidPropertyGet, | 
|  | analyzerCodes: <String>["CONST_EVAL_THROWS_EXCEPTION"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalInvalidPropertyGet( | 
|  | String string, Constant _constant, bool isNonNullableByDefault) { | 
|  | if (string.isEmpty) throw 'No string provided'; | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | String constant = constantParts.join(); | 
|  | return new Message(codeConstEvalInvalidPropertyGet, | 
|  | message: | 
|  | """The property '${string}' can't be accessed on '${constant}' in a constant expression.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'string': string, 'constant': _constant}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | templateConstEvalInvalidStringInterpolationOperand = const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The constant value '#constant' can't be used as part of a string interpolation in a constant expression. | 
|  | Only values of type 'null', 'bool', 'int', 'double', or 'String' can be used.""", | 
|  | withArguments: | 
|  | _withArgumentsConstEvalInvalidStringInterpolationOperand); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | codeConstEvalInvalidStringInterpolationOperand = const Code< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | "ConstEvalInvalidStringInterpolationOperand", | 
|  | templateConstEvalInvalidStringInterpolationOperand, | 
|  | analyzerCodes: <String>["CONST_EVAL_TYPE_BOOL_NUM_STRING"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalInvalidStringInterpolationOperand( | 
|  | Constant _constant, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | String constant = constantParts.join(); | 
|  | return new Message(codeConstEvalInvalidStringInterpolationOperand, | 
|  | message: | 
|  | """The constant value '${constant}' can't be used as part of a string interpolation in a constant expression. | 
|  | Only values of type 'null', 'bool', 'int', 'double', or 'String' can be used.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'constant': _constant}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | templateConstEvalInvalidSymbolName = const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The symbol name must be a valid public Dart member name, public constructor name, or library name, optionally qualified, but was '#constant'.""", | 
|  | withArguments: _withArgumentsConstEvalInvalidSymbolName); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | codeConstEvalInvalidSymbolName = const Code< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | "ConstEvalInvalidSymbolName", templateConstEvalInvalidSymbolName, | 
|  | analyzerCodes: <String>["CONST_EVAL_THROWS_EXCEPTION"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalInvalidSymbolName( | 
|  | Constant _constant, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | String constant = constantParts.join(); | 
|  | return new Message(codeConstEvalInvalidSymbolName, | 
|  | message: | 
|  | """The symbol name must be a valid public Dart member name, public constructor name, or library name, optionally qualified, but was '${constant}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'constant': _constant}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | Constant _constant, | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)> templateConstEvalInvalidType = const Template< | 
|  | Message Function(Constant _constant, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Expected constant '#constant' to be of type '#type', but was of type '#type2'.""", | 
|  | withArguments: _withArgumentsConstEvalInvalidType); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(Constant _constant, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)> codeConstEvalInvalidType = const Code< | 
|  | Message Function(Constant _constant, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)>( | 
|  | "ConstEvalInvalidType", | 
|  | templateConstEvalInvalidType, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalInvalidType(Constant _constant, DartType _type, | 
|  | DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String constant = constantParts.join(); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeConstEvalInvalidType, | 
|  | message: | 
|  | """Expected constant '${constant}' to be of type '${type}', but was of type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'constant': _constant, 'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | templateConstEvalKeyImplementsEqual = const Template< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The key '#constant' does not have a primitive operator '=='.""", | 
|  | withArguments: _withArgumentsConstEvalKeyImplementsEqual); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(Constant _constant, bool isNonNullableByDefault)> | 
|  | codeConstEvalKeyImplementsEqual = const Code< | 
|  | Message Function(Constant _constant, bool isNonNullableByDefault)>( | 
|  | "ConstEvalKeyImplementsEqual", templateConstEvalKeyImplementsEqual, | 
|  | analyzerCodes: <String>[ | 
|  | "CONST_MAP_KEY_EXPRESSION_TYPE_IMPLEMENTS_EQUALS" | 
|  | ]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsConstEvalKeyImplementsEqual( | 
|  | Constant _constant, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> constantParts = labeler.labelConstant(_constant); | 
|  | String constant = constantParts.join(); | 
|  | return new Message(codeConstEvalKeyImplementsEqual, | 
|  | message: | 
|  | """The key '${constant}' does not have a primitive operator '=='.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'constant': _constant}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | String name, | 
|  | bool | 
|  | isNonNullableByDefault)> templateDeferredTypeAnnotation = const Template< | 
|  | Message Function( | 
|  | DartType _type, String name, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The type '#type' is deferred loaded via prefix '#name' and can't be used as a type annotation.""", | 
|  | tipTemplate: | 
|  | r"""Try removing 'deferred' from the import of '#name' or use a supertype of '#type' that isn't deferred.""", | 
|  | withArguments: _withArgumentsDeferredTypeAnnotation); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, String name, bool isNonNullableByDefault)> | 
|  | codeDeferredTypeAnnotation = const Code< | 
|  | Message Function( | 
|  | DartType _type, String name, bool isNonNullableByDefault)>( | 
|  | "DeferredTypeAnnotation", templateDeferredTypeAnnotation, | 
|  | analyzerCodes: <String>["TYPE_ANNOTATION_DEFERRED_CLASS"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsDeferredTypeAnnotation( | 
|  | DartType _type, String name, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeDeferredTypeAnnotation, | 
|  | message: | 
|  | """The type '${type}' is deferred loaded via prefix '${name}' and can't be used as a type annotation.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try removing 'deferred' from the import of '${name}' or use a supertype of '${type}' that isn't deferred.""", | 
|  | arguments: {'type': _type, 'name': name}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateFfiDartTypeMismatch = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: r"""Expected '#type' to be a subtype of '#type2'.""", | 
|  | withArguments: _withArgumentsFfiDartTypeMismatch); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeFfiDartTypeMismatch = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "FfiDartTypeMismatch", | 
|  | templateFfiDartTypeMismatch, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsFfiDartTypeMismatch( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeFfiDartTypeMismatch, | 
|  | message: """Expected '${type}' to be a subtype of '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateFfiExpectedExceptionalReturn = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Expected an exceptional return value for a native callback returning '#type'.""", | 
|  | withArguments: _withArgumentsFfiExpectedExceptionalReturn); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeFfiExpectedExceptionalReturn = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "FfiExpectedExceptionalReturn", | 
|  | templateFfiExpectedExceptionalReturn, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsFfiExpectedExceptionalReturn( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeFfiExpectedExceptionalReturn, | 
|  | message: | 
|  | """Expected an exceptional return value for a native callback returning '${type}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateFfiExpectedNoExceptionalReturn = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Exceptional return value cannot be provided for a native callback returning '#type'.""", | 
|  | withArguments: _withArgumentsFfiExpectedNoExceptionalReturn); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeFfiExpectedNoExceptionalReturn = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "FfiExpectedNoExceptionalReturn", | 
|  | templateFfiExpectedNoExceptionalReturn, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsFfiExpectedNoExceptionalReturn( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeFfiExpectedNoExceptionalReturn, | 
|  | message: | 
|  | """Exceptional return value cannot be provided for a native callback returning '${type}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | bool | 
|  | isNonNullableByDefault)> templateFfiTypeInvalid = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Expected type '#type' to be a valid and instantiated subtype of 'NativeType'.""", | 
|  | withArguments: _withArgumentsFfiTypeInvalid); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeFfiTypeInvalid = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "FfiTypeInvalid", | 
|  | templateFfiTypeInvalid, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsFfiTypeInvalid( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeFfiTypeInvalid, | 
|  | message: | 
|  | """Expected type '${type}' to be a valid and instantiated subtype of 'NativeType'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | DartType _type3, | 
|  | bool | 
|  | isNonNullableByDefault)> templateFfiTypeMismatch = const Template< | 
|  | Message Function(DartType _type, DartType _type2, DartType _type3, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Expected type '#type' to be '#type2', which is the Dart type corresponding to '#type3'.""", | 
|  | withArguments: _withArgumentsFfiTypeMismatch); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, DartType _type3, | 
|  | bool isNonNullableByDefault)> codeFfiTypeMismatch = const Code< | 
|  | Message Function(DartType _type, DartType _type2, DartType _type3, | 
|  | bool isNonNullableByDefault)>( | 
|  | "FfiTypeMismatch", | 
|  | templateFfiTypeMismatch, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsFfiTypeMismatch(DartType _type, DartType _type2, | 
|  | DartType _type3, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | List<Object> type3Parts = labeler.labelType(_type3); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | String type3 = type3Parts.join(); | 
|  | return new Message(codeFfiTypeMismatch, | 
|  | message: | 
|  | """Expected type '${type}' to be '${type2}', which is the Dart type corresponding to '${type3}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2, 'type3': _type3}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateFieldNonNullableNotInitializedByConstructorError = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""This constructor should initialize field '#name' because its type '#type' doesn't allow null.""", | 
|  | withArguments: | 
|  | _withArgumentsFieldNonNullableNotInitializedByConstructorError); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeFieldNonNullableNotInitializedByConstructorError = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "FieldNonNullableNotInitializedByConstructorError", | 
|  | templateFieldNonNullableNotInitializedByConstructorError, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsFieldNonNullableNotInitializedByConstructorError( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeFieldNonNullableNotInitializedByConstructorError, | 
|  | message: | 
|  | """This constructor should initialize field '${name}' because its type '${type}' doesn't allow null.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateFieldNonNullableNotInitializedByConstructorWarning = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""This constructor doesn't initialize field '#name' and its type '#type' doesn't allow null.""", | 
|  | withArguments: | 
|  | _withArgumentsFieldNonNullableNotInitializedByConstructorWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeFieldNonNullableNotInitializedByConstructorWarning = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "FieldNonNullableNotInitializedByConstructorWarning", | 
|  | templateFieldNonNullableNotInitializedByConstructorWarning, | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsFieldNonNullableNotInitializedByConstructorWarning( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeFieldNonNullableNotInitializedByConstructorWarning, | 
|  | message: | 
|  | """This constructor doesn't initialize field '${name}' and its type '${type}' doesn't allow null.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateFieldNonNullableWithoutInitializerError = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Field '#name' should be initialized because its type '#type' doesn't allow null.""", | 
|  | withArguments: _withArgumentsFieldNonNullableWithoutInitializerError); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeFieldNonNullableWithoutInitializerError = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "FieldNonNullableWithoutInitializerError", | 
|  | templateFieldNonNullableWithoutInitializerError, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsFieldNonNullableWithoutInitializerError( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeFieldNonNullableWithoutInitializerError, | 
|  | message: | 
|  | """Field '${name}' should be initialized because its type '${type}' doesn't allow null.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateFieldNonNullableWithoutInitializerWarning = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Field '#name' isn't initialized and its type '#type' doesn't allow null.""", | 
|  | withArguments: _withArgumentsFieldNonNullableWithoutInitializerWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeFieldNonNullableWithoutInitializerWarning = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "FieldNonNullableWithoutInitializerWarning", | 
|  | templateFieldNonNullableWithoutInitializerWarning, | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsFieldNonNullableWithoutInitializerWarning( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeFieldNonNullableWithoutInitializerWarning, | 
|  | message: | 
|  | """Field '${name}' isn't initialized and its type '${type}' doesn't allow null.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateForInLoopElementTypeNotAssignable = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""A value of type '#type' can't be assigned to a variable of type '#type2'.""", | 
|  | tipTemplate: r"""Try changing the type of the variable.""", | 
|  | withArguments: _withArgumentsForInLoopElementTypeNotAssignable); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeForInLoopElementTypeNotAssignable = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "ForInLoopElementTypeNotAssignable", | 
|  | templateForInLoopElementTypeNotAssignable, | 
|  | analyzerCodes: <String>["FOR_IN_OF_INVALID_ELEMENT_TYPE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsForInLoopElementTypeNotAssignable( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeForInLoopElementTypeNotAssignable, | 
|  | message: | 
|  | """A value of type '${type}' can't be assigned to a variable of type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try changing the type of the variable.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateForInLoopTypeNotIterable = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The type '#type' used in the 'for' loop must implement '#type2'.""", | 
|  | withArguments: _withArgumentsForInLoopTypeNotIterable); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeForInLoopTypeNotIterable = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "ForInLoopTypeNotIterable", templateForInLoopTypeNotIterable, | 
|  | analyzerCodes: <String>["FOR_IN_OF_INVALID_TYPE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsForInLoopTypeNotIterable( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeForInLoopTypeNotIterable, | 
|  | message: | 
|  | """The type '${type}' used in the 'for' loop must implement '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateGenericFunctionTypeInferredAsActualTypeArgument = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Generic function type '#type' inferred as a type argument.""", | 
|  | tipTemplate: | 
|  | r"""Try providing a non-generic function type explicitly.""", | 
|  | withArguments: | 
|  | _withArgumentsGenericFunctionTypeInferredAsActualTypeArgument); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeGenericFunctionTypeInferredAsActualTypeArgument = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "GenericFunctionTypeInferredAsActualTypeArgument", | 
|  | templateGenericFunctionTypeInferredAsActualTypeArgument, | 
|  | analyzerCodes: <String>["GENERIC_FUNCTION_CANNOT_BE_TYPE_ARGUMENT"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsGenericFunctionTypeInferredAsActualTypeArgument( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeGenericFunctionTypeInferredAsActualTypeArgument, | 
|  | message: | 
|  | """Generic function type '${type}' inferred as a type argument.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try providing a non-generic function type explicitly.""", | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateIllegalRecursiveType = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: r"""Illegal recursive type '#type'.""", | 
|  | withArguments: _withArgumentsIllegalRecursiveType); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeIllegalRecursiveType = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "IllegalRecursiveType", | 
|  | templateIllegalRecursiveType, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIllegalRecursiveType( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeIllegalRecursiveType, | 
|  | message: """Illegal recursive type '${type}'.""" + labeler.originMessages, | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateImplicitCallOfNonMethod = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Cannot invoke an instance of '#type' because it declares 'call' to be something other than a method.""", | 
|  | tipTemplate: | 
|  | r"""Try changing 'call' to a method or explicitly invoke 'call'.""", | 
|  | withArguments: _withArgumentsImplicitCallOfNonMethod); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeImplicitCallOfNonMethod = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "ImplicitCallOfNonMethod", templateImplicitCallOfNonMethod, | 
|  | analyzerCodes: <String>["IMPLICIT_CALL_OF_NON_METHOD"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsImplicitCallOfNonMethod( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeImplicitCallOfNonMethod, | 
|  | message: | 
|  | """Cannot invoke an instance of '${type}' because it declares 'call' to be something other than a method.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try changing 'call' to a method or explicitly invoke 'call'.""", | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateIncompatibleRedirecteeFunctionType = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The constructor function type '#type' isn't a subtype of '#type2'.""", | 
|  | withArguments: _withArgumentsIncompatibleRedirecteeFunctionType); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeIncompatibleRedirecteeFunctionType = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "IncompatibleRedirecteeFunctionType", | 
|  | templateIncompatibleRedirecteeFunctionType, | 
|  | analyzerCodes: <String>["REDIRECT_TO_INVALID_TYPE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncompatibleRedirecteeFunctionType( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncompatibleRedirecteeFunctionType, | 
|  | message: | 
|  | """The constructor function type '${type}' isn't a subtype of '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateIncompatibleRedirecteeFunctionTypeWarning = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The constructor function type '#type' isn't a subtype of '#type2'.""", | 
|  | withArguments: _withArgumentsIncompatibleRedirecteeFunctionTypeWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeIncompatibleRedirecteeFunctionTypeWarning = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "IncompatibleRedirecteeFunctionTypeWarning", | 
|  | templateIncompatibleRedirecteeFunctionTypeWarning, | 
|  | analyzerCodes: <String>["REDIRECT_TO_INVALID_TYPE"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncompatibleRedirecteeFunctionTypeWarning( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncompatibleRedirecteeFunctionTypeWarning, | 
|  | message: | 
|  | """The constructor function type '${type}' isn't a subtype of '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgument = const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2'.""", | 
|  | tipTemplate: | 
|  | r"""Try changing type arguments so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgument); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgument = const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgument", templateIncorrectTypeArgument, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgument(DartType _type, DartType _type2, | 
|  | String name, String name2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgument, | 
|  | message: | 
|  | """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try changing type arguments so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentInReturnType = const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2' in the return type.""", | 
|  | tipTemplate: | 
|  | r"""Try changing type arguments so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentInReturnType); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentInReturnType = const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentInReturnType", | 
|  | templateIncorrectTypeArgumentInReturnType, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentInReturnType(DartType _type, | 
|  | DartType _type2, String name, String name2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentInReturnType, | 
|  | message: | 
|  | """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}' in the return type.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try changing type arguments so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentInReturnTypeWarning = const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2' in the return type.""", | 
|  | tipTemplate: | 
|  | r"""Try changing type arguments so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentInReturnTypeWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentInReturnTypeWarning = const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentInReturnTypeWarning", | 
|  | templateIncorrectTypeArgumentInReturnTypeWarning, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentInReturnTypeWarning(DartType _type, | 
|  | DartType _type2, String name, String name2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentInReturnTypeWarning, | 
|  | message: | 
|  | """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}' in the return type.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try changing type arguments so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentInSupertype = const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2' in the supertype '#name3' of class '#name4'.""", | 
|  | tipTemplate: | 
|  | r"""Try changing type arguments so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentInSupertype); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)> codeIncorrectTypeArgumentInSupertype = | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentInSupertype", templateIncorrectTypeArgumentInSupertype, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentInSupertype( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | if (name3.isEmpty) throw 'No name provided'; | 
|  | name3 = demangleMixinApplicationName(name3); | 
|  | if (name4.isEmpty) throw 'No name provided'; | 
|  | name4 = demangleMixinApplicationName(name4); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentInSupertype, | 
|  | message: | 
|  | """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}' in the supertype '${name3}' of class '${name4}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: | 
|  | """Try changing type arguments so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'name2': name2, | 
|  | 'name3': name3, | 
|  | 'name4': name4 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentInSupertypeInferred = const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Inferred type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2' in the supertype '#name3' of class '#name4'.""", | 
|  | tipTemplate: | 
|  | r"""Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentInSupertypeInferred); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentInSupertypeInferred = const Code< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentInSupertypeInferred", templateIncorrectTypeArgumentInSupertypeInferred, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentInSupertypeInferred( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | if (name3.isEmpty) throw 'No name provided'; | 
|  | name3 = demangleMixinApplicationName(name3); | 
|  | if (name4.isEmpty) throw 'No name provided'; | 
|  | name4 = demangleMixinApplicationName(name4); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentInSupertypeInferred, | 
|  | message: | 
|  | """Inferred type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}' in the supertype '${name3}' of class '${name4}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: | 
|  | """Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'name2': name2, | 
|  | 'name3': name3, | 
|  | 'name4': name4 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentInSupertypeInferredWarning = const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Inferred type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2' in the supertype '#name3' of class '#name4'.""", | 
|  | tipTemplate: | 
|  | r"""Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | withArguments: | 
|  | _withArgumentsIncorrectTypeArgumentInSupertypeInferredWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentInSupertypeInferredWarning = const Code< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentInSupertypeInferredWarning", | 
|  | templateIncorrectTypeArgumentInSupertypeInferredWarning, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentInSupertypeInferredWarning( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | if (name3.isEmpty) throw 'No name provided'; | 
|  | name3 = demangleMixinApplicationName(name3); | 
|  | if (name4.isEmpty) throw 'No name provided'; | 
|  | name4 = demangleMixinApplicationName(name4); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentInSupertypeInferredWarning, | 
|  | message: | 
|  | """Inferred type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}' in the supertype '${name3}' of class '${name4}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: | 
|  | """Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'name2': name2, | 
|  | 'name3': name3, | 
|  | 'name4': name4 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentInSupertypeWarning = const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2' in the supertype '#name3' of class '#name4'.""", | 
|  | tipTemplate: | 
|  | r"""Try changing type arguments so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentInSupertypeWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentInSupertypeWarning = const Code< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentInSupertypeWarning", | 
|  | templateIncorrectTypeArgumentInSupertypeWarning, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentInSupertypeWarning( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | String name2, | 
|  | String name3, | 
|  | String name4, | 
|  | bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | if (name3.isEmpty) throw 'No name provided'; | 
|  | name3 = demangleMixinApplicationName(name3); | 
|  | if (name4.isEmpty) throw 'No name provided'; | 
|  | name4 = demangleMixinApplicationName(name4); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentInSupertypeWarning, | 
|  | message: | 
|  | """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}' in the supertype '${name3}' of class '${name4}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: | 
|  | """Try changing type arguments so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'name2': name2, | 
|  | 'name3': name3, | 
|  | 'name4': name4 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentInferred = const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Inferred type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2'.""", | 
|  | tipTemplate: | 
|  | r"""Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentInferred); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentInferred = const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentInferred", templateIncorrectTypeArgumentInferred, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentInferred(DartType _type, | 
|  | DartType _type2, String name, String name2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentInferred, | 
|  | message: | 
|  | """Inferred type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentInferredWarning = const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Inferred type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2'.""", | 
|  | tipTemplate: | 
|  | r"""Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentInferredWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentInferredWarning = const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentInferredWarning", | 
|  | templateIncorrectTypeArgumentInferredWarning, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentInferredWarning(DartType _type, | 
|  | DartType _type2, String name, String name2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentInferredWarning, | 
|  | message: | 
|  | """Inferred type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentQualified = const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#type3.#name2'.""", | 
|  | tipTemplate: | 
|  | r"""Try changing type arguments so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentQualified); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentQualified = const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentQualified", | 
|  | templateIncorrectTypeArgumentQualified, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentQualified( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | DartType _type3, | 
|  | String name2, | 
|  | bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | List<Object> type3Parts = labeler.labelType(_type3); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | String type3 = type3Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentQualified, | 
|  | message: | 
|  | """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${type3}.${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try changing type arguments so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'type3': _type3, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentQualifiedInferred = const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Inferred type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#type3.#name2'.""", | 
|  | tipTemplate: | 
|  | r"""Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentQualifiedInferred); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentQualifiedInferred = const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentQualifiedInferred", templateIncorrectTypeArgumentQualifiedInferred, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentQualifiedInferred( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | DartType _type3, | 
|  | String name2, | 
|  | bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | List<Object> type3Parts = labeler.labelType(_type3); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | String type3 = type3Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentQualifiedInferred, | 
|  | message: | 
|  | """Inferred type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${type3}.${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'type3': _type3, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentQualifiedInferredWarning = const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Inferred type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#type3.#name2'.""", | 
|  | tipTemplate: | 
|  | r"""Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | withArguments: | 
|  | _withArgumentsIncorrectTypeArgumentQualifiedInferredWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentQualifiedInferredWarning = const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentQualifiedInferredWarning", | 
|  | templateIncorrectTypeArgumentQualifiedInferredWarning, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentQualifiedInferredWarning( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | DartType _type3, | 
|  | String name2, | 
|  | bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | List<Object> type3Parts = labeler.labelType(_type3); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | String type3 = type3Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentQualifiedInferredWarning, | 
|  | message: | 
|  | """Inferred type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${type3}.${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try specifying type arguments explicitly so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'type3': _type3, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentQualifiedWarning = const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#type3.#name2'.""", | 
|  | tipTemplate: | 
|  | r"""Try changing type arguments so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentQualifiedWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentQualifiedWarning = const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | DartType _type3, String name2, bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentQualifiedWarning", | 
|  | templateIncorrectTypeArgumentQualifiedWarning, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentQualifiedWarning( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name, | 
|  | DartType _type3, | 
|  | String name2, | 
|  | bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | List<Object> type3Parts = labeler.labelType(_type3); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | String type3 = type3Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentQualifiedWarning, | 
|  | message: | 
|  | """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${type3}.${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try changing type arguments so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'type3': _type3, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | templateIncorrectTypeArgumentWarning = const Template< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2'.""", | 
|  | tipTemplate: | 
|  | r"""Try changing type arguments so that they conform to the bounds.""", | 
|  | withArguments: _withArgumentsIncorrectTypeArgumentWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | codeIncorrectTypeArgumentWarning = const Code< | 
|  | Message Function(DartType _type, DartType _type2, String name, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | "IncorrectTypeArgumentWarning", templateIncorrectTypeArgumentWarning, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsIncorrectTypeArgumentWarning(DartType _type, | 
|  | DartType _type2, String name, String name2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeIncorrectTypeArgumentWarning, | 
|  | message: | 
|  | """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try changing type arguments so that they conform to the bounds.""", | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name': name, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)> | 
|  | templateInitializingFormalTypeMismatch = const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The type of parameter '#name', '#type' is not a subtype of the corresponding field's type, '#type2'.""", | 
|  | tipTemplate: | 
|  | r"""Try changing the type of parameter '#name' to a subtype of '#type2'.""", | 
|  | withArguments: _withArgumentsInitializingFormalTypeMismatch); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)> codeInitializingFormalTypeMismatch = | 
|  | const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | bool isNonNullableByDefault)>("InitializingFormalTypeMismatch", | 
|  | templateInitializingFormalTypeMismatch, | 
|  | analyzerCodes: <String>["INVALID_PARAMETER_DECLARATION"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInitializingFormalTypeMismatch( | 
|  | String name, DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInitializingFormalTypeMismatch, | 
|  | message: | 
|  | """The type of parameter '${name}', '${type}' is not a subtype of the corresponding field's type, '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try changing the type of parameter '${name}' to a subtype of '${type2}'.""", | 
|  | arguments: {'name': name, 'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String string, DartType _type, bool isNonNullableByDefault)> | 
|  | templateInternalProblemUnsupportedNullability = const Template< | 
|  | Message Function( | 
|  | String string, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Unsupported nullability value '#string' on type '#type'.""", | 
|  | withArguments: _withArgumentsInternalProblemUnsupportedNullability); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String string, DartType _type, bool isNonNullableByDefault)> | 
|  | codeInternalProblemUnsupportedNullability = const Code< | 
|  | Message Function( | 
|  | String string, DartType _type, bool isNonNullableByDefault)>( | 
|  | "InternalProblemUnsupportedNullability", | 
|  | templateInternalProblemUnsupportedNullability, | 
|  | severity: Severity.internalProblem); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInternalProblemUnsupportedNullability( | 
|  | String string, DartType _type, bool isNonNullableByDefault) { | 
|  | if (string.isEmpty) throw 'No string provided'; | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeInternalProblemUnsupportedNullability, | 
|  | message: | 
|  | """Unsupported nullability value '${string}' on type '${type}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'string': string, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateInvalidAssignmentError = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""A value of type '#type' can't be assigned to a variable of type '#type2'.""", | 
|  | withArguments: _withArgumentsInvalidAssignmentError); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeInvalidAssignmentError = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "InvalidAssignmentError", templateInvalidAssignmentError, | 
|  | analyzerCodes: <String>["INVALID_ASSIGNMENT"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInvalidAssignmentError( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInvalidAssignmentError, | 
|  | message: | 
|  | """A value of type '${type}' can't be assigned to a variable of type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateInvalidAssignmentWarning = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Assigning value of type '#type' to a variable of type '#type2'.""", | 
|  | withArguments: _withArgumentsInvalidAssignmentWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeInvalidAssignmentWarning = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "InvalidAssignmentWarning", templateInvalidAssignmentWarning, | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInvalidAssignmentWarning( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInvalidAssignmentWarning, | 
|  | message: | 
|  | """Assigning value of type '${type}' to a variable of type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)> templateInvalidCastFunctionExpr = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The function expression type '#type' isn't of expected type '#type2'.""", | 
|  | tipTemplate: | 
|  | r"""Change the type of the function expression or the context in which it is used.""", | 
|  | withArguments: _withArgumentsInvalidCastFunctionExpr); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeInvalidCastFunctionExpr = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "InvalidCastFunctionExpr", templateInvalidCastFunctionExpr, | 
|  | analyzerCodes: <String>["INVALID_CAST_FUNCTION_EXPR"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInvalidCastFunctionExpr( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInvalidCastFunctionExpr, | 
|  | message: | 
|  | """The function expression type '${type}' isn't of expected type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change the type of the function expression or the context in which it is used.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)> templateInvalidCastLiteralList = const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The list literal type '#type' isn't of expected type '#type2'.""", | 
|  | tipTemplate: | 
|  | r"""Change the type of the list literal or the context in which it is used.""", | 
|  | withArguments: _withArgumentsInvalidCastLiteralList); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeInvalidCastLiteralList = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "InvalidCastLiteralList", templateInvalidCastLiteralList, | 
|  | analyzerCodes: <String>["INVALID_CAST_LITERAL_LIST"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInvalidCastLiteralList( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInvalidCastLiteralList, | 
|  | message: | 
|  | """The list literal type '${type}' isn't of expected type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change the type of the list literal or the context in which it is used.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)> templateInvalidCastLiteralMap = const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The map literal type '#type' isn't of expected type '#type2'.""", | 
|  | tipTemplate: | 
|  | r"""Change the type of the map literal or the context in which it is used.""", | 
|  | withArguments: _withArgumentsInvalidCastLiteralMap); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeInvalidCastLiteralMap = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "InvalidCastLiteralMap", templateInvalidCastLiteralMap, | 
|  | analyzerCodes: <String>["INVALID_CAST_LITERAL_MAP"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInvalidCastLiteralMap( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInvalidCastLiteralMap, | 
|  | message: | 
|  | """The map literal type '${type}' isn't of expected type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change the type of the map literal or the context in which it is used.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)> templateInvalidCastLiteralSet = const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The set literal type '#type' isn't of expected type '#type2'.""", | 
|  | tipTemplate: | 
|  | r"""Change the type of the set literal or the context in which it is used.""", | 
|  | withArguments: _withArgumentsInvalidCastLiteralSet); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeInvalidCastLiteralSet = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "InvalidCastLiteralSet", templateInvalidCastLiteralSet, | 
|  | analyzerCodes: <String>["INVALID_CAST_LITERAL_SET"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInvalidCastLiteralSet( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInvalidCastLiteralSet, | 
|  | message: | 
|  | """The set literal type '${type}' isn't of expected type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change the type of the set literal or the context in which it is used.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)> templateInvalidCastLocalFunction = const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The local function has type '#type' that isn't of expected type '#type2'.""", | 
|  | tipTemplate: | 
|  | r"""Change the type of the function or the context in which it is used.""", | 
|  | withArguments: _withArgumentsInvalidCastLocalFunction); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeInvalidCastLocalFunction = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "InvalidCastLocalFunction", templateInvalidCastLocalFunction, | 
|  | analyzerCodes: <String>["INVALID_CAST_FUNCTION"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInvalidCastLocalFunction( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInvalidCastLocalFunction, | 
|  | message: | 
|  | """The local function has type '${type}' that isn't of expected type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change the type of the function or the context in which it is used.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)> templateInvalidCastNewExpr = const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The constructor returns type '#type' that isn't of expected type '#type2'.""", | 
|  | tipTemplate: | 
|  | r"""Change the type of the object being constructed or the context in which it is used.""", | 
|  | withArguments: _withArgumentsInvalidCastNewExpr); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeInvalidCastNewExpr = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "InvalidCastNewExpr", templateInvalidCastNewExpr, | 
|  | analyzerCodes: <String>["INVALID_CAST_NEW_EXPR"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInvalidCastNewExpr( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInvalidCastNewExpr, | 
|  | message: | 
|  | """The constructor returns type '${type}' that isn't of expected type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change the type of the object being constructed or the context in which it is used.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | bool | 
|  | isNonNullableByDefault)> templateInvalidCastStaticMethod = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The static method has type '#type' that isn't of expected type '#type2'.""", | 
|  | tipTemplate: | 
|  | r"""Change the type of the method or the context in which it is used.""", | 
|  | withArguments: _withArgumentsInvalidCastStaticMethod); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeInvalidCastStaticMethod = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "InvalidCastStaticMethod", templateInvalidCastStaticMethod, | 
|  | analyzerCodes: <String>["INVALID_CAST_METHOD"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInvalidCastStaticMethod( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInvalidCastStaticMethod, | 
|  | message: | 
|  | """The static method has type '${type}' that isn't of expected type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change the type of the method or the context in which it is used.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateInvalidCastTopLevelFunction = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The top level function has type '#type' that isn't of expected type '#type2'.""", | 
|  | tipTemplate: | 
|  | r"""Change the type of the function or the context in which it is used.""", | 
|  | withArguments: _withArgumentsInvalidCastTopLevelFunction); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeInvalidCastTopLevelFunction = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "InvalidCastTopLevelFunction", templateInvalidCastTopLevelFunction, | 
|  | analyzerCodes: <String>["INVALID_CAST_FUNCTION"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsInvalidCastTopLevelFunction( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeInvalidCastTopLevelFunction, | 
|  | message: | 
|  | """The top level function has type '${type}' that isn't of expected type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change the type of the function or the context in which it is used.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, DartType _type2, DartType _type3, | 
|  | bool isNonNullableByDefault)> | 
|  | templateMixinApplicationIncompatibleSupertype = const Template< | 
|  | Message Function(DartType _type, DartType _type2, DartType _type3, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""'#type' doesn't implement '#type2' so it can't be used with '#type3'.""", | 
|  | withArguments: _withArgumentsMixinApplicationIncompatibleSupertype); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, DartType _type2, DartType _type3, | 
|  | bool isNonNullableByDefault)> | 
|  | codeMixinApplicationIncompatibleSupertype = const Code< | 
|  | Message Function(DartType _type, DartType _type2, DartType _type3, | 
|  | bool isNonNullableByDefault)>( | 
|  | "MixinApplicationIncompatibleSupertype", | 
|  | templateMixinApplicationIncompatibleSupertype, | 
|  | analyzerCodes: <String>["MIXIN_APPLICATION_NOT_IMPLEMENTED_INTERFACE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsMixinApplicationIncompatibleSupertype(DartType _type, | 
|  | DartType _type2, DartType _type3, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | List<Object> type3Parts = labeler.labelType(_type3); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | String type3 = type3Parts.join(); | 
|  | return new Message(codeMixinApplicationIncompatibleSupertype, | 
|  | message: | 
|  | """'${type}' doesn't implement '${type2}' so it can't be used with '${type3}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2, 'type3': _type3}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | bool isNonNullableByDefault)> | 
|  | templateMixinInferenceNoMatchingClass = | 
|  | const Template< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type parameters could not be inferred for the mixin '#name' because '#name2' does not implement the mixin's supertype constraint '#type'.""", | 
|  | withArguments: _withArgumentsMixinInferenceNoMatchingClass); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | bool isNonNullableByDefault)> codeMixinInferenceNoMatchingClass = | 
|  | const Code< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | bool isNonNullableByDefault)>( | 
|  | "MixinInferenceNoMatchingClass", templateMixinInferenceNoMatchingClass, | 
|  | analyzerCodes: <String>["MIXIN_INFERENCE_NO_POSSIBLE_SUBSTITUTION"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsMixinInferenceNoMatchingClass( | 
|  | String name, String name2, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeMixinInferenceNoMatchingClass, | 
|  | message: | 
|  | """Type parameters could not be inferred for the mixin '${name}' because '${name2}' does not implement the mixin's supertype constraint '${type}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'name2': name2, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateNonNullableInNullAware = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Operand of null-aware operation '#name' has type '#type' which excludes null.""", | 
|  | withArguments: _withArgumentsNonNullableInNullAware); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeNonNullableInNullAware = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "NonNullableInNullAware", templateNonNullableInNullAware, | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsNonNullableInNullAware( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeNonNullableInNullAware, | 
|  | message: | 
|  | """Operand of null-aware operation '${name}' has type '${type}' which excludes null.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateNullableExpressionCallError = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Can't use an expression of type '#type' as a function because it's potentially null.""", | 
|  | tipTemplate: r"""Try calling using ?.call instead.""", | 
|  | withArguments: _withArgumentsNullableExpressionCallError); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeNullableExpressionCallError = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "NullableExpressionCallError", | 
|  | templateNullableExpressionCallError, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsNullableExpressionCallError( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeNullableExpressionCallError, | 
|  | message: | 
|  | """Can't use an expression of type '${type}' as a function because it's potentially null.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try calling using ?.call instead.""", | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateNullableExpressionCallWarning = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Expression of type '#type' is used as a function, but it's potentially null.""", | 
|  | tipTemplate: r"""Try calling using ?.call instead.""", | 
|  | withArguments: _withArgumentsNullableExpressionCallWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeNullableExpressionCallWarning = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "NullableExpressionCallWarning", templateNullableExpressionCallWarning, | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsNullableExpressionCallWarning( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeNullableExpressionCallWarning, | 
|  | message: | 
|  | """Expression of type '${type}' is used as a function, but it's potentially null.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try calling using ?.call instead.""", | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateNullableMethodCallError = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Method '#name' cannot be called on '#type' because it is potentially null.""", | 
|  | tipTemplate: r"""Try calling using ?. instead.""", | 
|  | withArguments: _withArgumentsNullableMethodCallError); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String name, DartType _type, | 
|  | bool isNonNullableByDefault)> codeNullableMethodCallError = const Code< | 
|  | Message Function(String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "NullableMethodCallError", | 
|  | templateNullableMethodCallError, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsNullableMethodCallError( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeNullableMethodCallError, | 
|  | message: | 
|  | """Method '${name}' cannot be called on '${type}' because it is potentially null.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try calling using ?. instead.""", | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateNullableMethodCallWarning = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Method '#name' is called on '#type' which is potentially null.""", | 
|  | tipTemplate: r"""Try calling using ?. instead.""", | 
|  | withArguments: _withArgumentsNullableMethodCallWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeNullableMethodCallWarning = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "NullableMethodCallWarning", templateNullableMethodCallWarning, | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsNullableMethodCallWarning( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeNullableMethodCallWarning, | 
|  | message: | 
|  | """Method '${name}' is called on '${type}' which is potentially null.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try calling using ?. instead.""", | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateNullableOperatorCallError = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Operator '#name' cannot be called on '#type' because it is potentially null.""", | 
|  | withArguments: _withArgumentsNullableOperatorCallError); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeNullableOperatorCallError = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "NullableOperatorCallError", | 
|  | templateNullableOperatorCallError, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsNullableOperatorCallError( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeNullableOperatorCallError, | 
|  | message: | 
|  | """Operator '${name}' cannot be called on '${type}' because it is potentially null.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateNullableOperatorCallWarning = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Operator '#name' is called on '#type' which is potentially null.""", | 
|  | withArguments: _withArgumentsNullableOperatorCallWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeNullableOperatorCallWarning = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "NullableOperatorCallWarning", templateNullableOperatorCallWarning, | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsNullableOperatorCallWarning( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeNullableOperatorCallWarning, | 
|  | message: | 
|  | """Operator '${name}' is called on '${type}' which is potentially null.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateNullablePropertyAccessError = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Property '#name' cannot be accessed on '#type' because it is potentially null.""", | 
|  | tipTemplate: r"""Try accessing using ?. instead.""", | 
|  | withArguments: _withArgumentsNullablePropertyAccessError); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeNullablePropertyAccessError = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "NullablePropertyAccessError", | 
|  | templateNullablePropertyAccessError, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsNullablePropertyAccessError( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeNullablePropertyAccessError, | 
|  | message: | 
|  | """Property '${name}' cannot be accessed on '${type}' because it is potentially null.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try accessing using ?. instead.""", | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateNullablePropertyAccessWarning = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Property '#name' is accessed on '#type' which is potentially null.""", | 
|  | tipTemplate: r"""Try accessing using ?. instead.""", | 
|  | withArguments: _withArgumentsNullablePropertyAccessWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeNullablePropertyAccessWarning = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "NullablePropertyAccessWarning", templateNullablePropertyAccessWarning, | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsNullablePropertyAccessWarning( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeNullablePropertyAccessWarning, | 
|  | message: | 
|  | """Property '${name}' is accessed on '${type}' which is potentially null.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try accessing using ?. instead.""", | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateOptionalNonNullableWithoutInitializerError = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Optional parameter '#name' should have a default value because its type '#type' doesn't allow null.""", | 
|  | withArguments: | 
|  | _withArgumentsOptionalNonNullableWithoutInitializerError); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeOptionalNonNullableWithoutInitializerError = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "OptionalNonNullableWithoutInitializerError", | 
|  | templateOptionalNonNullableWithoutInitializerError, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsOptionalNonNullableWithoutInitializerError( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeOptionalNonNullableWithoutInitializerError, | 
|  | message: | 
|  | """Optional parameter '${name}' should have a default value because its type '${type}' doesn't allow null.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | templateOptionalNonNullableWithoutInitializerWarning = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Optional parameter '#name' doesn't have a default value and its type '#type' doesn't allow null.""", | 
|  | withArguments: | 
|  | _withArgumentsOptionalNonNullableWithoutInitializerWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeOptionalNonNullableWithoutInitializerWarning = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "OptionalNonNullableWithoutInitializerWarning", | 
|  | templateOptionalNonNullableWithoutInitializerWarning, | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsOptionalNonNullableWithoutInitializerWarning( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeOptionalNonNullableWithoutInitializerWarning, | 
|  | message: | 
|  | """Optional parameter '${name}' doesn't have a default value and its type '${type}' doesn't allow null.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)> | 
|  | templateOverrideTypeMismatchParameter = const Template< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The parameter '#name' of the method '#name2' has type '#type', which does not match the corresponding type, '#type2', in the overridden method, '#name3'.""", | 
|  | tipTemplate: | 
|  | r"""Change to a supertype of '#type2', or, for a covariant parameter, a subtype.""", | 
|  | withArguments: _withArgumentsOverrideTypeMismatchParameter); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)> | 
|  | codeOverrideTypeMismatchParameter = const Code< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)>( | 
|  | "OverrideTypeMismatchParameter", templateOverrideTypeMismatchParameter, | 
|  | analyzerCodes: <String>["INVALID_METHOD_OVERRIDE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsOverrideTypeMismatchParameter( | 
|  | String name, | 
|  | String name2, | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name3, | 
|  | bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name3.isEmpty) throw 'No name provided'; | 
|  | name3 = demangleMixinApplicationName(name3); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeOverrideTypeMismatchParameter, | 
|  | message: | 
|  | """The parameter '${name}' of the method '${name2}' has type '${type}', which does not match the corresponding type, '${type2}', in the overridden method, '${name3}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change to a supertype of '${type2}', or, for a covariant parameter, a subtype.""", | 
|  | arguments: { | 
|  | 'name': name, | 
|  | 'name2': name2, | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name3': name3 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)> | 
|  | templateOverrideTypeMismatchParameterWarning = const Template< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The parameter '#name' of the method '#name2' has type '#type', which does not match the corresponding type, '#type2', in the overridden method, '#name3'.""", | 
|  | tipTemplate: | 
|  | r"""Change to a supertype of '#type2', or, for a covariant parameter, a subtype.""", | 
|  | withArguments: _withArgumentsOverrideTypeMismatchParameterWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)> | 
|  | codeOverrideTypeMismatchParameterWarning = const Code< | 
|  | Message Function(String name, String name2, DartType _type, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)>( | 
|  | "OverrideTypeMismatchParameterWarning", | 
|  | templateOverrideTypeMismatchParameterWarning, | 
|  | analyzerCodes: <String>["INVALID_METHOD_OVERRIDE"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsOverrideTypeMismatchParameterWarning( | 
|  | String name, | 
|  | String name2, | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name3, | 
|  | bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name3.isEmpty) throw 'No name provided'; | 
|  | name3 = demangleMixinApplicationName(name3); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeOverrideTypeMismatchParameterWarning, | 
|  | message: | 
|  | """The parameter '${name}' of the method '${name2}' has type '${type}', which does not match the corresponding type, '${type2}', in the overridden method, '${name3}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change to a supertype of '${type2}', or, for a covariant parameter, a subtype.""", | 
|  | arguments: { | 
|  | 'name': name, | 
|  | 'name2': name2, | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name3': name3 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | templateOverrideTypeMismatchReturnType = const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The return type of the method '#name' is '#type', which does not match the return type, '#type2', of the overridden method, '#name2'.""", | 
|  | tipTemplate: r"""Change to a subtype of '#type2'.""", | 
|  | withArguments: _withArgumentsOverrideTypeMismatchReturnType); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | codeOverrideTypeMismatchReturnType = const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | "OverrideTypeMismatchReturnType", | 
|  | templateOverrideTypeMismatchReturnType, | 
|  | analyzerCodes: <String>["INVALID_METHOD_OVERRIDE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsOverrideTypeMismatchReturnType( | 
|  | String name, | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name2, | 
|  | bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeOverrideTypeMismatchReturnType, | 
|  | message: | 
|  | """The return type of the method '${name}' is '${type}', which does not match the return type, '${type2}', of the overridden method, '${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change to a subtype of '${type2}'.""", | 
|  | arguments: { | 
|  | 'name': name, | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | templateOverrideTypeMismatchReturnTypeWarning = const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The return type of the method '#name' is '#type', which does not match the return type, '#type2', of the overridden method, '#name2'.""", | 
|  | tipTemplate: r"""Change to a subtype of '#type2'.""", | 
|  | withArguments: _withArgumentsOverrideTypeMismatchReturnTypeWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | codeOverrideTypeMismatchReturnTypeWarning = const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | "OverrideTypeMismatchReturnTypeWarning", | 
|  | templateOverrideTypeMismatchReturnTypeWarning, | 
|  | analyzerCodes: <String>["INVALID_METHOD_OVERRIDE"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsOverrideTypeMismatchReturnTypeWarning( | 
|  | String name, | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name2, | 
|  | bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeOverrideTypeMismatchReturnTypeWarning, | 
|  | message: | 
|  | """The return type of the method '${name}' is '${type}', which does not match the return type, '${type2}', of the overridden method, '${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Change to a subtype of '${type2}'.""", | 
|  | arguments: { | 
|  | 'name': name, | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | templateOverrideTypeMismatchSetter = const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The field '#name' has type '#type', which does not match the corresponding type, '#type2', in the overridden setter, '#name2'.""", | 
|  | withArguments: _withArgumentsOverrideTypeMismatchSetter); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | codeOverrideTypeMismatchSetter = const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | "OverrideTypeMismatchSetter", templateOverrideTypeMismatchSetter, | 
|  | analyzerCodes: <String>["INVALID_METHOD_OVERRIDE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsOverrideTypeMismatchSetter(String name, DartType _type, | 
|  | DartType _type2, String name2, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeOverrideTypeMismatchSetter, | 
|  | message: | 
|  | """The field '${name}' has type '${type}', which does not match the corresponding type, '${type2}', in the overridden setter, '${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: { | 
|  | 'name': name, | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | templateOverrideTypeMismatchSetterWarning = const Template< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The field '#name' has type '#type', which does not match the corresponding type, '#type2', in the overridden setter, '#name2'.""", | 
|  | withArguments: _withArgumentsOverrideTypeMismatchSetterWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)> | 
|  | codeOverrideTypeMismatchSetterWarning = const Code< | 
|  | Message Function(String name, DartType _type, DartType _type2, | 
|  | String name2, bool isNonNullableByDefault)>( | 
|  | "OverrideTypeMismatchSetterWarning", | 
|  | templateOverrideTypeMismatchSetterWarning, | 
|  | analyzerCodes: <String>["INVALID_METHOD_OVERRIDE"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsOverrideTypeMismatchSetterWarning( | 
|  | String name, | 
|  | DartType _type, | 
|  | DartType _type2, | 
|  | String name2, | 
|  | bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeOverrideTypeMismatchSetterWarning, | 
|  | message: | 
|  | """The field '${name}' has type '${type}', which does not match the corresponding type, '${type2}', in the overridden setter, '${name2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: { | 
|  | 'name': name, | 
|  | 'type': _type, | 
|  | 'type2': _type2, | 
|  | 'name2': name2 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function(DartType _type, String name, String name2, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)> | 
|  | templateOverrideTypeVariablesBoundMismatch = const Template< | 
|  | Message Function(DartType _type, String name, String name2, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Declared bound '#type' of type variable '#name' of '#name2' doesn't match the bound '#type2' on overridden method '#name3'.""", | 
|  | withArguments: _withArgumentsOverrideTypeVariablesBoundMismatch); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function(DartType _type, String name, String name2, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)> | 
|  | codeOverrideTypeVariablesBoundMismatch = const Code< | 
|  | Message Function(DartType _type, String name, String name2, | 
|  | DartType _type2, String name3, bool isNonNullableByDefault)>( | 
|  | "OverrideTypeVariablesBoundMismatch", | 
|  | templateOverrideTypeVariablesBoundMismatch, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsOverrideTypeVariablesBoundMismatch( | 
|  | DartType _type, | 
|  | String name, | 
|  | String name2, | 
|  | DartType _type2, | 
|  | String name3, | 
|  | bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | if (name2.isEmpty) throw 'No name provided'; | 
|  | name2 = demangleMixinApplicationName(name2); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | if (name3.isEmpty) throw 'No name provided'; | 
|  | name3 = demangleMixinApplicationName(name3); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeOverrideTypeVariablesBoundMismatch, | 
|  | message: | 
|  | """Declared bound '${type}' of type variable '${name}' of '${name2}' doesn't match the bound '${type2}' on overridden method '${name3}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: { | 
|  | 'type': _type, | 
|  | 'name': name, | 
|  | 'name2': name2, | 
|  | 'type2': _type2, | 
|  | 'name3': name3 | 
|  | }); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateRedirectingFactoryIncompatibleTypeArgument = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: r"""The type '#type' doesn't extend '#type2'.""", | 
|  | tipTemplate: r"""Try using a different type as argument.""", | 
|  | withArguments: | 
|  | _withArgumentsRedirectingFactoryIncompatibleTypeArgument); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeRedirectingFactoryIncompatibleTypeArgument = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "RedirectingFactoryIncompatibleTypeArgument", | 
|  | templateRedirectingFactoryIncompatibleTypeArgument, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsRedirectingFactoryIncompatibleTypeArgument( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeRedirectingFactoryIncompatibleTypeArgument, | 
|  | message: """The type '${type}' doesn't extend '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try using a different type as argument.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateRedirectingFactoryIncompatibleTypeArgumentWarning = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: r"""The type '#type' doesn't extend '#type2'.""", | 
|  | tipTemplate: r"""Try using a different type as argument.""", | 
|  | withArguments: | 
|  | _withArgumentsRedirectingFactoryIncompatibleTypeArgumentWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeRedirectingFactoryIncompatibleTypeArgumentWarning = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "RedirectingFactoryIncompatibleTypeArgumentWarning", | 
|  | templateRedirectingFactoryIncompatibleTypeArgumentWarning, | 
|  | analyzerCodes: <String>["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsRedirectingFactoryIncompatibleTypeArgumentWarning( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeRedirectingFactoryIncompatibleTypeArgumentWarning, | 
|  | message: """The type '${type}' doesn't extend '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: """Try using a different type as argument.""", | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateSpreadElementTypeMismatch = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Can't assign spread elements of type '#type' to collection elements of type '#type2'.""", | 
|  | withArguments: _withArgumentsSpreadElementTypeMismatch); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeSpreadElementTypeMismatch = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "SpreadElementTypeMismatch", templateSpreadElementTypeMismatch, | 
|  | analyzerCodes: <String>["LIST_ELEMENT_TYPE_NOT_ASSIGNABLE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsSpreadElementTypeMismatch( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeSpreadElementTypeMismatch, | 
|  | message: | 
|  | """Can't assign spread elements of type '${type}' to collection elements of type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateSpreadMapEntryElementKeyTypeMismatch = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Can't assign spread entry keys of type '#type' to map entry keys of type '#type2'.""", | 
|  | withArguments: _withArgumentsSpreadMapEntryElementKeyTypeMismatch); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeSpreadMapEntryElementKeyTypeMismatch = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "SpreadMapEntryElementKeyTypeMismatch", | 
|  | templateSpreadMapEntryElementKeyTypeMismatch, | 
|  | analyzerCodes: <String>["MAP_KEY_TYPE_NOT_ASSIGNABLE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsSpreadMapEntryElementKeyTypeMismatch( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeSpreadMapEntryElementKeyTypeMismatch, | 
|  | message: | 
|  | """Can't assign spread entry keys of type '${type}' to map entry keys of type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateSpreadMapEntryElementValueTypeMismatch = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Can't assign spread entry values of type '#type' to map entry values of type '#type2'.""", | 
|  | withArguments: _withArgumentsSpreadMapEntryElementValueTypeMismatch); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeSpreadMapEntryElementValueTypeMismatch = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "SpreadMapEntryElementValueTypeMismatch", | 
|  | templateSpreadMapEntryElementValueTypeMismatch, | 
|  | analyzerCodes: <String>["MAP_VALUE_TYPE_NOT_ASSIGNABLE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsSpreadMapEntryElementValueTypeMismatch( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeSpreadMapEntryElementValueTypeMismatch, | 
|  | message: | 
|  | """Can't assign spread entry values of type '${type}' to map entry values of type '${type2}'.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateSpreadMapEntryTypeMismatch = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Unexpected type '#type' of a map spread entry.  Expected 'dynamic' or a Map.""", | 
|  | withArguments: _withArgumentsSpreadMapEntryTypeMismatch); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeSpreadMapEntryTypeMismatch = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "SpreadMapEntryTypeMismatch", | 
|  | templateSpreadMapEntryTypeMismatch, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsSpreadMapEntryTypeMismatch( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeSpreadMapEntryTypeMismatch, | 
|  | message: | 
|  | """Unexpected type '${type}' of a map spread entry.  Expected 'dynamic' or a Map.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, | 
|  | bool | 
|  | isNonNullableByDefault)> templateSpreadTypeMismatch = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Unexpected type '#type' of a spread.  Expected 'dynamic' or an Iterable.""", | 
|  | withArguments: _withArgumentsSpreadTypeMismatch); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeSpreadTypeMismatch = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "SpreadTypeMismatch", | 
|  | templateSpreadTypeMismatch, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsSpreadTypeMismatch( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeSpreadTypeMismatch, | 
|  | message: | 
|  | """Unexpected type '${type}' of a spread.  Expected 'dynamic' or an Iterable.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateSwitchExpressionNotAssignable = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type '#type' of the switch expression isn't assignable to the type '#type2' of this case expression.""", | 
|  | withArguments: _withArgumentsSwitchExpressionNotAssignable); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeSwitchExpressionNotAssignable = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "SwitchExpressionNotAssignable", templateSwitchExpressionNotAssignable, | 
|  | analyzerCodes: <String>["SWITCH_EXPRESSION_NOT_ASSIGNABLE"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsSwitchExpressionNotAssignable( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeSwitchExpressionNotAssignable, | 
|  | message: | 
|  | """Type '${type}' of the switch expression isn't assignable to the type '${type2}' of this case expression.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | templateSwitchExpressionNotSubtype = const Template< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Type '#type' of the case expression is not a subtype of type '#type2' of this switch expression.""", | 
|  | withArguments: _withArgumentsSwitchExpressionNotSubtype); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)> | 
|  | codeSwitchExpressionNotSubtype = const Code< | 
|  | Message Function( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault)>( | 
|  | "SwitchExpressionNotSubtype", | 
|  | templateSwitchExpressionNotSubtype, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsSwitchExpressionNotSubtype( | 
|  | DartType _type, DartType _type2, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | List<Object> type2Parts = labeler.labelType(_type2); | 
|  | String type = typeParts.join(); | 
|  | String type2 = type2Parts.join(); | 
|  | return new Message(codeSwitchExpressionNotSubtype, | 
|  | message: | 
|  | """Type '${type}' of the case expression is not a subtype of type '${type2}' of this switch expression.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type, 'type2': _type2}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateThrowingNotAssignableToObjectError = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Can't throw a value of '#type' since it is neither dynamic nor non-nullable.""", | 
|  | withArguments: _withArgumentsThrowingNotAssignableToObjectError); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeThrowingNotAssignableToObjectError = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "ThrowingNotAssignableToObjectError", | 
|  | templateThrowingNotAssignableToObjectError, | 
|  | ); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsThrowingNotAssignableToObjectError( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeThrowingNotAssignableToObjectError, | 
|  | message: | 
|  | """Can't throw a value of '${type}' since it is neither dynamic nor non-nullable.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | templateThrowingNotAssignableToObjectWarning = const Template< | 
|  | Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""Throwing a value of '#type' that is neither dynamic nor non-nullable.""", | 
|  | withArguments: _withArgumentsThrowingNotAssignableToObjectWarning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)> | 
|  | codeThrowingNotAssignableToObjectWarning = | 
|  | const Code<Message Function(DartType _type, bool isNonNullableByDefault)>( | 
|  | "ThrowingNotAssignableToObjectWarning", | 
|  | templateThrowingNotAssignableToObjectWarning, | 
|  | severity: Severity.warning); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsThrowingNotAssignableToObjectWarning( | 
|  | DartType _type, bool isNonNullableByDefault) { | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeThrowingNotAssignableToObjectWarning, | 
|  | message: | 
|  | """Throwing a value of '${type}' that is neither dynamic nor non-nullable.""" + | 
|  | labeler.originMessages, | 
|  | arguments: {'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, | 
|  | DartType _type, | 
|  | bool | 
|  | isNonNullableByDefault)> templateUndefinedGetter = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The getter '#name' isn't defined for the class '#type'.""", | 
|  | tipTemplate: | 
|  | r"""Try correcting the name to the name of an existing getter, or defining a getter or field named '#name'.""", | 
|  | withArguments: _withArgumentsUndefinedGetter); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeUndefinedGetter = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "UndefinedGetter", templateUndefinedGetter, | 
|  | analyzerCodes: <String>["UNDEFINED_GETTER"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsUndefinedGetter( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeUndefinedGetter, | 
|  | message: | 
|  | """The getter '${name}' isn't defined for the class '${type}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: | 
|  | """Try correcting the name to the name of an existing getter, or defining a getter or field named '${name}'.""", | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, | 
|  | DartType _type, | 
|  | bool | 
|  | isNonNullableByDefault)> templateUndefinedMethod = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The method '#name' isn't defined for the class '#type'.""", | 
|  | tipTemplate: | 
|  | r"""Try correcting the name to the name of an existing method, or defining a method named '#name'.""", | 
|  | withArguments: _withArgumentsUndefinedMethod); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeUndefinedMethod = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "UndefinedMethod", templateUndefinedMethod, | 
|  | analyzerCodes: <String>["UNDEFINED_METHOD"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsUndefinedMethod( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeUndefinedMethod, | 
|  | message: | 
|  | """The method '${name}' isn't defined for the class '${type}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: | 
|  | """Try correcting the name to the name of an existing method, or defining a method named '${name}'.""", | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Template< | 
|  | Message Function( | 
|  | String name, | 
|  | DartType _type, | 
|  | bool | 
|  | isNonNullableByDefault)> templateUndefinedSetter = const Template< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | messageTemplate: | 
|  | r"""The setter '#name' isn't defined for the class '#type'.""", | 
|  | tipTemplate: | 
|  | r"""Try correcting the name to the name of an existing setter, or defining a setter or field named '#name'.""", | 
|  | withArguments: _withArgumentsUndefinedSetter); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)> | 
|  | codeUndefinedSetter = const Code< | 
|  | Message Function( | 
|  | String name, DartType _type, bool isNonNullableByDefault)>( | 
|  | "UndefinedSetter", templateUndefinedSetter, | 
|  | analyzerCodes: <String>["UNDEFINED_SETTER"]); | 
|  |  | 
|  | // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 
|  | Message _withArgumentsUndefinedSetter( | 
|  | String name, DartType _type, bool isNonNullableByDefault) { | 
|  | if (name.isEmpty) throw 'No name provided'; | 
|  | name = demangleMixinApplicationName(name); | 
|  | TypeLabeler labeler = new TypeLabeler(isNonNullableByDefault); | 
|  | List<Object> typeParts = labeler.labelType(_type); | 
|  | String type = typeParts.join(); | 
|  | return new Message(codeUndefinedSetter, | 
|  | message: | 
|  | """The setter '${name}' isn't defined for the class '${type}'.""" + | 
|  | labeler.originMessages, | 
|  | tip: | 
|  | """Try correcting the name to the name of an existing setter, or defining a setter or field named '${name}'.""", | 
|  | arguments: {'name': name, 'type': _type}); | 
|  | } |