HivePartitioningOptions.fromJson constructor

HivePartitioningOptions.fromJson(
  1. Map json_
)

Implementation

HivePartitioningOptions.fromJson(core.Map json_)
    : this(
        fields: json_.containsKey('fields')
            ? (json_['fields'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
        requirePartitionFilter: json_.containsKey('requirePartitionFilter')
            ? json_['requirePartitionFilter'] as core.bool
            : null,
        sourceUriPrefix: json_.containsKey('sourceUriPrefix')
            ? json_['sourceUriPrefix'] as core.String
            : null,
      );