LocationMetadata.fromJson constructor

LocationMetadata.fromJson(
  1. Map _json
)

Implementation

LocationMetadata.fromJson(core.Map _json)
    : this(
        supportedHiveMetastoreVersions:
            _json.containsKey('supportedHiveMetastoreVersions')
                ? (_json['supportedHiveMetastoreVersions'] as core.List)
                    .map((value) => HiveMetastoreVersion.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
      );