toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final executionTime = this.executionTime;
  final executionId = this.executionId;
  final executionType = this.executionType;
  return {
    'ExecutionTime': unixTimestampToJson(executionTime),
    if (executionId != null) 'ExecutionId': executionId,
    if (executionType != null) 'ExecutionType': executionType,
  };
}