toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (colorMode != null) 'colorMode': colorMode!,
      if (completeTime != null) 'completeTime': completeTime!,
      if (copyCount != null) 'copyCount': copyCount!,
      if (createTime != null) 'createTime': createTime!,
      if (documentPageCount != null) 'documentPageCount': documentPageCount!,
      if (duplexMode != null) 'duplexMode': duplexMode!,
      if (id != null) 'id': id!,
      if (printer != null) 'printer': printer!,
      if (printerId != null) 'printerId': printerId!,
      if (state != null) 'state': state!,
      if (title != null) 'title': title!,
      if (userEmail != null) 'userEmail': userEmail!,
      if (userId != null) 'userId': userId!,
    };