ExecutableDeclaration constructor

const ExecutableDeclaration({
  1. required String returnTypeName,
  2. required String? returnTypeFullLibraryName,
  3. required String name,
  4. required bool isDeprecated,
  5. required bool isExperimental,
  6. required List<ExecutableParameterDeclaration> parameters,
  7. required List<String> typeParameterNames,
  8. required ExecutableType type,
  9. required bool isStatic,
  10. Set<String>? entryPoints,
  11. required String relativePath,
})

Implementation

const factory ExecutableDeclaration({
  /// name of the return type
  required String returnTypeName,

  // full library name of the return type
  required String? returnTypeFullLibraryName,

  /// name of the executable
  required String name,

  /// whether the executable is deprecated
  required bool isDeprecated,

  /// whether the executable is experimental
  required bool isExperimental,

  /// list of the executables parameters ([ExecutableOParameterDeclaration]s)
  required List<ExecutableParameterDeclaration> parameters,

  /// type parameter names of this executable
  required List<String> typeParameterNames,

  /// type of the executable
  required ExecutableType type,

  /// whether the executable is a static method
  required bool isStatic,

  /// entry points for this executable
  Set<String>? entryPoints,

  /// the relative path of the library
  required String relativePath,
}) = _ExecutableDeclaration;