UpdatedServiceModel constructor

UpdatedServiceModel({
  1. required int? id,
  2. required String? name,
  3. String? image,
  4. required double? value,
  5. required bool? shared,
})

Returns a new UpdatedServiceModel instance.

Implementation

UpdatedServiceModel({
  required this.id,
  required this.name,
  this.image,
  required this.value,
  required this.shared,
});