fromJson_version static method

String fromJson_version(
  1. Map<String, dynamic> json
)

Implementation

static String fromJson_version(Map<String, dynamic> json) {
  final _jsonData = json[r'version'];
  if (_jsonData == null) {
    throw DeserialisationError(json, r'version', r'',
        'version field is null and is required to have a value');
  }

  return (json[r'version'] as String); // sausage
}