AlertFeedback.fromJson constructor

AlertFeedback.fromJson(
  1. Map _json
)

Implementation

AlertFeedback.fromJson(core.Map _json)
    : this(
        alertId: _json.containsKey('alertId')
            ? _json['alertId'] as core.String
            : null,
        createTime: _json.containsKey('createTime')
            ? _json['createTime'] as core.String
            : null,
        customerId: _json.containsKey('customerId')
            ? _json['customerId'] as core.String
            : null,
        email:
            _json.containsKey('email') ? _json['email'] as core.String : null,
        feedbackId: _json.containsKey('feedbackId')
            ? _json['feedbackId'] as core.String
            : null,
        type: _json.containsKey('type') ? _json['type'] as core.String : null,
      );