AmpUrlError.fromJson constructor

AmpUrlError.fromJson(
  1. Map json_
)

Implementation

AmpUrlError.fromJson(core.Map json_)
    : this(
        errorCode: json_.containsKey('errorCode')
            ? json_['errorCode'] as core.String
            : null,
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
        originalUrl: json_.containsKey('originalUrl')
            ? json_['originalUrl'] as core.String
            : null,
      );