LongTaskStatusWithLinksName.fromJson constructor

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

Implementation

factory LongTaskStatusWithLinksName.fromJson(Map<String, Object?> json) {
  return LongTaskStatusWithLinksName(
    key: json[r'key'] as String? ?? '',
    args: (json[r'args'] as List<Object?>?)
            ?.map((i) => i as Map<String, Object?>? ?? {})
            .toList() ??
        [],
  );
}