CloudSpannerProperties.fromJson constructor

CloudSpannerProperties.fromJson(
  1. Map json_
)

Implementation

CloudSpannerProperties.fromJson(core.Map json_)
    : this(
        database: json_.containsKey('database')
            ? json_['database'] as core.String
            : null,
        databaseRole: json_.containsKey('databaseRole')
            ? json_['databaseRole'] as core.String
            : null,
        maxParallelism: json_.containsKey('maxParallelism')
            ? json_['maxParallelism'] as core.int
            : null,
        useDataBoost: json_.containsKey('useDataBoost')
            ? json_['useDataBoost'] as core.bool
            : null,
        useParallelism: json_.containsKey('useParallelism')
            ? json_['useParallelism'] as core.bool
            : null,
        useServerlessAnalytics: json_.containsKey('useServerlessAnalytics')
            ? json_['useServerlessAnalytics'] as core.bool
            : null,
      );