32 lines
847 B
Dart
32 lines
847 B
Dart
//
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
//
|
|
// @dart=2.18
|
|
|
|
// ignore_for_file: unused_element, unused_import
|
|
// ignore_for_file: always_put_required_named_parameters_first
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: lines_longer_than_80_chars
|
|
|
|
part of openapi.api;
|
|
|
|
class MapAnnotation {
|
|
MapAnnotation({this.id});
|
|
String? id;
|
|
|
|
static MapAnnotation? fromJson(dynamic value) => value is Map ? MapAnnotation() : null;
|
|
|
|
static List<MapAnnotation> listFromJson(dynamic json, {bool growable = false}) {
|
|
final result = <MapAnnotation>[];
|
|
if (json is List && json.isNotEmpty) {
|
|
for (final row in json) {
|
|
final value = MapAnnotation.fromJson(row);
|
|
if (value != null) result.add(value);
|
|
}
|
|
}
|
|
return result.toList(growable: growable);
|
|
}
|
|
|
|
static const requiredKeys = <String>{};
|
|
}
|