LongTaskStatusWithLinksAdditionalDetails.fromJson constructor

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

Implementation

factory LongTaskStatusWithLinksAdditionalDetails.fromJson(
    Map<String, Object?> json) {
  return LongTaskStatusWithLinksAdditionalDetails(
    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?,
  );
}