toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'contentUri': contentUri,
    'displayName': displayName,
    'enableAutoReload': enableAutoReload,
    'knowledgeTypes': knowledgeTypes,
    'latestReloadStatus': latestReloadStatus.toMap(),
    'metadata': metadata,
    'mimeType': mimeType,
    'name': name,
    'rawContent': rawContent,
    'state': state,
  };
}