GoogleRpcPreconditionFailure.fromJson constructor

GoogleRpcPreconditionFailure.fromJson(
  1. Map json_
)

Implementation

GoogleRpcPreconditionFailure.fromJson(core.Map json_)
    : this(
        violations: json_.containsKey('violations')
            ? (json_['violations'] as core.List)
                .map((value) =>
                    GoogleRpcPreconditionFailureViolation.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );