SparkBatch.fromJson constructor
SparkBatch.fromJson(
- Map json_
Implementation
SparkBatch.fromJson(core.Map json_)
: this(
archiveUris: json_.containsKey('archiveUris')
? (json_['archiveUris'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
args: json_.containsKey('args')
? (json_['args'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
fileUris: json_.containsKey('fileUris')
? (json_['fileUris'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
jarFileUris: json_.containsKey('jarFileUris')
? (json_['jarFileUris'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
mainClass: json_.containsKey('mainClass')
? json_['mainClass'] as core.String
: null,
mainJarFileUri: json_.containsKey('mainJarFileUri')
? json_['mainJarFileUri'] as core.String
: null,
);