You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
465 B
22 lines
465 B
import 'package:dynamite/src/models/schema.dart'; |
|
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'header.g.dart'; |
|
|
|
@JsonSerializable() |
|
class Header { |
|
Header({ |
|
this.description, |
|
this.required, |
|
this.schema, |
|
}); |
|
|
|
factory Header.fromJson(final Map<String, dynamic> json) => _$HeaderFromJson(json); |
|
Map<String, dynamic> toJson() => _$HeaderToJson(this); |
|
|
|
final String? description; |
|
|
|
final bool? required; |
|
|
|
final Schema? schema; |
|
}
|
|
|