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.

20 lines
472 B

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,
required this.content,
});
factory Response.fromJson(final Map<String, dynamic> json) => _$ResponseFromJson(json);
Map<String, dynamic> toJson() => _$ResponseToJson(this);
final String description;
final Map<String, MediaType>? content;
}