Disapproval.fromJson constructor

Disapproval.fromJson(
  1. Map _json
)

Implementation

Disapproval.fromJson(core.Map _json)
    : this(
        details: _json.containsKey('details')
            ? (_json['details'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        reason: _json.containsKey('reason')
            ? _json['reason'] as core.String
            : null,
      );