ServiceWorkerRegistration.fromJson constructor
Implementation
factory ServiceWorkerRegistration.fromJson(Map<String, dynamic> json) {
return ServiceWorkerRegistration(
registrationId: RegistrationID.fromJson(json['registrationId'] as String),
scopeURL: json['scopeURL'] as String,
isDeleted: json['isDeleted'] as bool? ?? false,
);
}