RemoteObject.fromJson constructor
Implementation
factory RemoteObject.fromJson(Map<String, Object?> json) {
return RemoteObject(
icon: json[r'icon'] != null
? Icon.fromJson(json[r'icon']! as Map<String, Object?>)
: null,
status: json[r'status'] != null
? Status.fromJson(json[r'status']! as Map<String, Object?>)
: null,
summary: json[r'summary'] as String?,
title: json[r'title'] as String? ?? '',
url: json[r'url'] as String? ?? '',
);
}