BigtableOptions.fromJson constructor

BigtableOptions.fromJson(
  1. Map json_
)

Implementation

BigtableOptions.fromJson(core.Map json_)
    : this(
        columnFamilies: json_.containsKey('columnFamilies')
            ? (json_['columnFamilies'] as core.List)
                .map((value) => BigtableColumnFamily.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        ignoreUnspecifiedColumnFamilies:
            json_.containsKey('ignoreUnspecifiedColumnFamilies')
                ? json_['ignoreUnspecifiedColumnFamilies'] as core.bool
                : null,
        outputColumnFamiliesAsJson:
            json_.containsKey('outputColumnFamiliesAsJson')
                ? json_['outputColumnFamiliesAsJson'] as core.bool
                : null,
        readRowkeyAsString: json_.containsKey('readRowkeyAsString')
            ? json_['readRowkeyAsString'] as core.bool
            : null,
      );