MaterializedView.fromJson constructor

MaterializedView.fromJson(
  1. Map json_
)

Implementation

MaterializedView.fromJson(core.Map json_)
    : this(
        chosen:
            json_.containsKey('chosen') ? json_['chosen'] as core.bool : null,
        estimatedBytesSaved: json_.containsKey('estimatedBytesSaved')
            ? json_['estimatedBytesSaved'] as core.String
            : null,
        rejectedReason: json_.containsKey('rejectedReason')
            ? json_['rejectedReason'] as core.String
            : null,
        tableReference: json_.containsKey('tableReference')
            ? TableReference.fromJson(json_['tableReference']
                as core.Map<core.String, core.dynamic>)
            : null,
      );