EventBatchRecordFailure.fromJson constructor

EventBatchRecordFailure.fromJson(
  1. Map json_
)

Implementation

EventBatchRecordFailure.fromJson(core.Map json_)
    : this(
        failureCause: json_.containsKey('failureCause')
            ? json_['failureCause'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        range: json_.containsKey('range')
            ? EventPeriodRange.fromJson(
                json_['range'] as core.Map<core.String, core.dynamic>)
            : null,
      );