DirectedReadOptions.fromJson constructor

DirectedReadOptions.fromJson(
  1. Map json_
)

Implementation

DirectedReadOptions.fromJson(core.Map json_)
    : this(
        excludeReplicas: json_.containsKey('excludeReplicas')
            ? ExcludeReplicas.fromJson(json_['excludeReplicas']
                as core.Map<core.String, core.dynamic>)
            : null,
        includeReplicas: json_.containsKey('includeReplicas')
            ? IncludeReplicas.fromJson(json_['includeReplicas']
                as core.Map<core.String, core.dynamic>)
            : null,
      );