A framework for building convergent cross-platform Nextcloud clients using Flutter.
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.

24 lines
570 B

import 'package:dynamite/src/models/header.dart';
2 years ago
import 'package:dynamite/src/models/media_type.dart';
import 'package:json_annotation/json_annotation.dart';
part 'response.g.dart';
@JsonSerializable()
class Response {
Response({
required this.description,
this.content,
this.headers,
2 years ago
});
factory Response.fromJson(final Map<String, dynamic> json) => _$ResponseFromJson(json);
Map<String, dynamic> toJson() => _$ResponseToJson(this);
final String description;
final Map<String, MediaType>? content;
final Map<String, Header>? headers;
2 years ago
}