FFXThreadRuntimeSessions.fromJson constructor

FFXThreadRuntimeSessions.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory FFXThreadRuntimeSessions.fromJson(Map<String, Object?> json) =>
    FFXThreadRuntimeSessions(
      primary: json['primary'] == null
          ? null
          : FFXThreadRuntimeSessionsPrimary.fromJson(
              (json['primary'] as Map).cast<String, Object?>(),
            ),
      sharedTasks: (json['sharedTasks'] as num).toInt(),
    );