JsonDecodingError.expectedNumber constructor

JsonDecodingError.expectedNumber(
  1. Object? json
)

Implementation

factory JsonDecodingError.expectedNumber(Object? json) {
  return JsonDecodingError.expected(json, expectedType: 'a JSON number');
}