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((value) => value as core.String)
                .toList()
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
      );