LongTaskStatusAdditionalDetails.fromJson constructor

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

Implementation

factory LongTaskStatusAdditionalDetails.fromJson(Map<String, Object?> json) {
  return LongTaskStatusAdditionalDetails(
    destinationId: json[r'destinationId'] as String?,
    destinationUrl: json[r'destinationUrl'] as String?,
    totalPageNeedToCopy: (json[r'totalPageNeedToCopy'] as num?)?.toInt(),
    additionalProperties: json[r'additionalProperties'] as String?,
  );
}