ImageOnlyMessage.fromJson constructor

ImageOnlyMessage.fromJson(
  1. Map _json
)

Implementation

ImageOnlyMessage.fromJson(core.Map _json)
    : this(
        action: _json.containsKey('action')
            ? Action.fromJson(
                _json['action'] as core.Map<core.String, core.dynamic>)
            : null,
        imageUrl: _json.containsKey('imageUrl')
            ? _json['imageUrl'] as core.String
            : null,
      );