fromJson_id static method

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

Implementation

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

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