toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final commandExpireTime = this.commandExpireTime;
  final commandId = this.commandId;
  final commandResult = this.commandResult;
  final issueTime = this.issueTime;
  final payload = this.payload;
  final state = this.state;
  final type = this.type;
  return {
    'commandExpireTime': ?commandExpireTime,
    'commandId': ?commandId,
    'commandResult': ?commandResult,
    'issueTime': ?issueTime,
    'payload': ?payload,
    'state': ?state,
    'type': ?type,
  };
}