Abort.fromJson constructor

Abort.fromJson(
  1. Map<String, dynamic> json
)

Creates a Abort from JSON data.

Implementation

Abort.fromJson(Map<String, dynamic> json)
    : this(
        httpStatus: json['httpStatus'],
        percentage: json['percentage'] != null
            ? Percent.fromJson(json['percentage'])
            : null,
      );