HttpFaultAbort.fromJson constructor

HttpFaultAbort.fromJson(
  1. Map json_
)

Implementation

HttpFaultAbort.fromJson(core.Map json_)
    : this(
        httpStatus: json_.containsKey('httpStatus')
            ? json_['httpStatus'] as core.int
            : null,
        percentage: json_.containsKey('percentage')
            ? (json_['percentage'] as core.num).toDouble()
            : null,
      );