CollectdValueError.fromJson constructor

CollectdValueError.fromJson(
  1. Map json_
)

Implementation

CollectdValueError.fromJson(core.Map json_)
    : this(
        error: json_.containsKey('error')
            ? Status.fromJson(
                json_['error'] as core.Map<core.String, core.dynamic>)
            : null,
        index: json_.containsKey('index') ? json_['index'] as core.int : null,
      );