ErrorMessage.fromJson constructor

ErrorMessage.fromJson(
  1. Map json_
)

Implementation

ErrorMessage.fromJson(core.Map json_)
    : this(
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
        source: json_.containsKey('source')
            ? Source.fromJson(
                json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
      );