HiveTableOptions.fromJson constructor

HiveTableOptions.fromJson(
  1. Map json_
)

Implementation

HiveTableOptions.fromJson(core.Map json_)
    : this(
        parameters: json_.containsKey('parameters')
            ? (json_['parameters'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        storageDescriptor: json_.containsKey('storageDescriptor')
            ? StorageDescriptor.fromJson(json_['storageDescriptor']
                as core.Map<core.String, core.dynamic>)
            : null,
        tableType: json_.containsKey('tableType')
            ? json_['tableType'] as core.String
            : null,
      );