Diagnostics.fromJson constructor
Implementation
factory Diagnostics.fromJson(Map<String, dynamic> json) {
return Diagnostics(
errorCode: (json['errorCode'] as String?)?.toLifecycleErrorCode(),
logTail: json['logTail'] as String?,
message: json['message'] as String?,
scriptName: json['scriptName'] as String?,
);
}