ServiceModel constructor

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

Returns a new ServiceModel instance.

Implementation

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