toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (allowOverwrite != null) 'allowOverwrite': allowOverwrite!,
  if (copySourceAcl != null) 'copySourceAcl': copySourceAcl!,
  if (createdAfterTime != null)
    'createdAfterTime': createdAfterTime!.toUtc().toIso8601String(),
  if (createdBeforeTime != null)
    'createdBeforeTime': createdBeforeTime!.toUtc().toIso8601String(),
  if (matchGlobs != null) 'matchGlobs': matchGlobs!,
  if (softDeletedAfterTime != null)
    'softDeletedAfterTime': softDeletedAfterTime!.toUtc().toIso8601String(),
  if (softDeletedBeforeTime != null)
    'softDeletedBeforeTime': softDeletedBeforeTime!.toUtc().toIso8601String(),
};