ConfluenceBlogConfiguration.fromJson constructor

ConfluenceBlogConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ConfluenceBlogConfiguration.fromJson(Map<String, dynamic> json) {
  return ConfluenceBlogConfiguration(
    blogFieldMappings: (json['BlogFieldMappings'] as List?)
        ?.whereNotNull()
        .map((e) => ConfluenceBlogToIndexFieldMapping.fromJson(
            e as Map<String, dynamic>))
        .toList(),
  );
}