CreateAddonResponse.fromJson constructor

CreateAddonResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateAddonResponse.fromJson(Map<String, dynamic> json) {
  return CreateAddonResponse(
    addon: json['addon'] != null
        ? Addon.fromJson(json['addon'] as Map<String, dynamic>)
        : null,
  );
}