toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (hidden != null) 'hidden': hidden!,
      if (modified != null) 'modified': modified!,
      if (restricted != null) 'restricted': restricted!,
      if (starred != null) 'starred': starred!,
      if (trashed != null) 'trashed': trashed!,
      if (viewed != null) 'viewed': viewed!,
    };