PdaError.dart 409 Bytes
import 'package:json_annotation/json_annotation.dart';

part 'PdaError.g.dart';

@JsonSerializable()
class PdaError {

  int id;
  String code;
  String name;
  String type;
  String typeName;

  PdaError(this.id, this.code, this.name, this.type, this.typeName);

  factory PdaError.fromJson(Map<String, dynamic> json) => _$PdaErrorFromJson(json);

  Map<String, dynamic> toJson() => _$PdaErrorToJson(this);
}