fromJson_name static method

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

Implementation

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

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