DatafeedStatusError.fromJson constructor

DatafeedStatusError.fromJson(
  1. Map json_
)

Implementation

DatafeedStatusError.fromJson(core.Map json_)
    : this(
        code: json_.containsKey('code') ? json_['code'] as core.String : null,
        count:
            json_.containsKey('count') ? json_['count'] as core.String : null,
        examples: json_.containsKey('examples')
            ? (json_['examples'] as core.List)
                .map((value) => DatafeedStatusExample.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
      );