toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['type'] = this._type;
  if (this._request != null) {
    data['request'] = this._request!.toJson();
  }
  if (this._signature != null) {
    data['signature'] = this._signature!.toJson();
  }
  if (this._theme != null) {
    data['theme'] = this._theme!.toJson();
  }
  return data;
}