toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (document != null) 'document': document!.toJson(),
      if (enableSchemaValidation != null)
        'enableSchemaValidation': enableSchemaValidation!,
      if (inlineDocument != null) 'inlineDocument': inlineDocument!.toJson(),
      if (priority != null) 'priority': priority!,
    };