ServiceBackendPort.fromJson constructor
Creates a ServiceBackendPort from JSON data.
Implementation
factory ServiceBackendPort.fromJson(Map<String, dynamic> json) {
final tempNameJson = json['name'];
final tempNumberJson = json['number'];
final String? tempName = tempNameJson;
final int? tempNumber = tempNumberJson;
return ServiceBackendPort(
name: tempName,
number: tempNumber,
);
}