Error.fromJson constructor

Error.fromJson(
  1. Map json_
)

Implementation

Error.fromJson(core.Map json_)
    : this(
        pointCount: json_.containsKey('pointCount')
            ? json_['pointCount'] as core.int
            : null,
        status: json_.containsKey('status')
            ? Status.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
      );