Service class

Annotations
  • @freezed

Constructors

Service.new({@JsonKey(name: 'id') int? id, @JsonKey(name: 'code') String? code, @JsonKey(name: 'name') String? name, @JsonKey(name: 'link') String? link, @JsonKey(name: 'image') String? image, @JsonKey(name: 'info') String? info, @JsonKey(name: 'status') int? status})
const
factory
Service.fromJson(Map<String, Object?> json)
factory

Properties

code String?
no setterinherited
copyWith → $ServiceCopyWith<Service>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int?
no setterinherited
image String?
no setterinherited
info String?
no setterinherited
no setterinherited
name String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited