toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (displayName != null) 'displayName': displayName!,
      if (documentIsFolder != null) 'documentIsFolder': documentIsFolder!,
      if (documentIsLegalHoldFolder != null)
        'documentIsLegalHoldFolder': documentIsLegalHoldFolder!,
      if (documentIsRetentionFolder != null)
        'documentIsRetentionFolder': documentIsRetentionFolder!,
      if (documentName != null) 'documentName': documentName!,
      if (snippet != null) 'snippet': snippet!,
      if (updateTime != null) 'updateTime': updateTime!,
    };