NiceModuleManifest.fromJson constructor
Implementation
factory NiceModuleManifest.fromJson(Map<String, dynamic> json) {
return NiceModuleManifest(
appVersion: json['appVersion'] as String,
modules: (json['modules'] as List)
.map((m) => NiceModuleInfo.fromJson(m as Map<String, dynamic>))
.toList(),
generatedAt: json['generatedAt'] != null
? DateTime.tryParse(json['generatedAt'] as String)
: null,
);
}