DebugInfo.fromJson constructor

DebugInfo.fromJson(
  1. List list
)

Implementation

factory DebugInfo.fromJson(List<dynamic> list) {
  final map = listToMap(list, type: type);

  return DebugInfo(
    appEntrypointPath: map['appEntrypointPath'] as String?,
    appId: map['appId'] as String?,
    appInstanceId: map['appInstanceId'] as String?,
    appOrigin: map['appOrigin'] as String?,
    appUrl: map['appUrl'] as String?,
    authUrl: map['authUrl'] as String?,
    dwdsVersion: map['dwdsVersion'] as String?,
    extensionUrl: map['extensionUrl'] as String?,
    isInternalBuild: map['isInternalBuild'] as bool?,
    isFlutterApp: map['isFlutterApp'] as bool?,
    workspaceName: map['workspaceName'] as String?,
    tabUrl: map['tabUrl'] as String?,
    tabId: map['tabId'] as int?,
  );
}