Routine class Null safety

A user-defined function or a stored procedure.


Routine({List<Argument>? arguments, String? creationTime, String? definitionBody, String? description, String? determinismLevel, String? etag, List<String>? importedLibraries, String? language, String? lastModifiedTime, RemoteFunctionOptions? remoteFunctionOptions, StandardSqlTableType? returnTableType, StandardSqlDataType? returnType, RoutineReference? routineReference, String? routineType, SparkOptions? sparkOptions, bool? strictMode})
Routine.fromJson(Map json_)


arguments List<Argument>?
read / write
creationTime String?
The time when this routine was created, in milliseconds since the epoch.
read / write
definitionBody String?
The body of the routine.
read / write
description String?
The description of the routine, if defined.
read / write
determinismLevel String?
The determinism level of the JavaScript UDF, if defined.
read / write
etag String?
A hash of this resource.
read / write
hashCode int
The hash code for this object.
importedLibraries List<String>?
If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
read / write
language String?
Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
read / write
lastModifiedTime String?
The time when this routine was last modified, in milliseconds since the epoch.
read / write
remoteFunctionOptions RemoteFunctionOptions?
Remote function specific options.
read / write
returnTableType StandardSqlTableType?
Can be set only if routine_type = "TABLE_VALUED_FUNCTION".
read / write
returnType StandardSqlDataType?
Optional if language = "SQL"; required otherwise.
read / write
routineReference RoutineReference?
Reference describing the ID of this routine.
read / write
routineType String?
The type of routine.
read / write
runtimeType Type
A representation of the runtime type of the object.
sparkOptions SparkOptions?
Spark specific options.
read / write
strictMode bool?
Can be set for procedures only.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.