Diagnostics.fromJson constructor

Diagnostics.fromJson(
  1. Map<String, dynamic> json
)

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?,
  );
}