Showing 1 of 2 files from the diff.

@@ -141,17 +141,21 @@
Loading
141 141
  ///
142 142
  /// The JSON data must be a JSON object or it will throw
143 143
  /// a [JsonDecodingError].
144 -
  T decodeAsObject<T extends Object>(JsonObjectDecoder<T> decoder) =>
145 -
      wrapJsonUtilOperation(
146 -
          () => _decodedValue.asObject(decoder, skipIfNull: true));
144 +
  T decodeAsObject<T extends Object>(JsonObjectDecoder<T> decoder) {
145 +
    assert(decoder != null);
146 +
    return wrapJsonUtilOperation(
147 +
        () => _decodedValue.asObject(decoder, skipIfNull: true));
148 +
  }
147 149
148 150
  /// Returns the JSON data decoded as an instance of [List<T extends Object>].
149 151
  ///
150 152
  /// The JSON data must be a list of JSON objects or it
151 153
  /// will throw a [JsonDecodingError].
152 -
  List<T> decodeAsObjectList<T extends Object>(JsonObjectDecoder<T> decoder) =>
153 -
      wrapJsonUtilOperation(
154 -
          () => _decodedValue.asObjectList(decoder, skipNullValues: true));
154 +
  List<T> decodeAsObjectList<T extends Object>(JsonObjectDecoder<T> decoder) {
155 +
    assert(decoder != null);
156 +
    return wrapJsonUtilOperation(
157 +
        () => _decodedValue.asObjectList(decoder, skipNullValues: true));
158 +
  }
155 159
156 160
  // <<standard methods>>
157 161
Files Coverage
lib/src 100.00%
Project Totals (3 files) 100.00%
Untitled

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading