ErrorHandler.fromJson constructor

ErrorHandler.fromJson(
  1. Map json_
)

Implementation

ErrorHandler.fromJson(core.Map json_)
    : this(
        errorCode: json_.containsKey('errorCode')
            ? json_['errorCode'] as core.String
            : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
        staticFile: json_.containsKey('staticFile')
            ? json_['staticFile'] as core.String
            : null,
      );