toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final category = this.category;
  final owner = this.owner;
  final provider = this.provider;
  final version = this.version;
  return {
    'category': category.toValue(),
    'owner': owner.toValue(),
    'provider': provider,
    'version': version,
  };
}