fromJson_fieldName static method

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

Implementation

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

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