SparkProperties.fromJson constructor

SparkProperties.fromJson(
  1. Map json_
)

Implementation

SparkProperties.fromJson(core.Map json_)
    : this(
        metastoreServiceConfig: json_.containsKey('metastoreServiceConfig')
            ? MetastoreServiceConfig.fromJson(json_['metastoreServiceConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        serviceAccountId: json_.containsKey('serviceAccountId')
            ? json_['serviceAccountId'] as core.String
            : null,
        sparkHistoryServerConfig:
            json_.containsKey('sparkHistoryServerConfig')
                ? SparkHistoryServerConfig.fromJson(
                    json_['sparkHistoryServerConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );