SparkStatistics.fromJson constructor
SparkStatistics.fromJson(
- Map json_
Implementation
SparkStatistics.fromJson(core.Map json_)
: this(
endpoints: json_.containsKey('endpoints')
? (json_['endpoints'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
gcsStagingBucket: json_.containsKey('gcsStagingBucket')
? json_['gcsStagingBucket'] as core.String
: null,
kmsKeyName: json_.containsKey('kmsKeyName')
? json_['kmsKeyName'] as core.String
: null,
loggingInfo: json_.containsKey('loggingInfo')
? SparkLoggingInfo.fromJson(
json_['loggingInfo'] as core.Map<core.String, core.dynamic>)
: null,
sparkJobId: json_.containsKey('sparkJobId')
? json_['sparkJobId'] as core.String
: null,
sparkJobLocation: json_.containsKey('sparkJobLocation')
? json_['sparkJobLocation'] as core.String
: null,
);