NodeFabricLogPublishingConfiguration.fromJson constructor
NodeFabricLogPublishingConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory NodeFabricLogPublishingConfiguration.fromJson(
Map<String, dynamic> json) {
return NodeFabricLogPublishingConfiguration(
chaincodeLogs: json['ChaincodeLogs'] != null
? LogConfigurations.fromJson(
json['ChaincodeLogs'] as Map<String, dynamic>)
: null,
peerLogs: json['PeerLogs'] != null
? LogConfigurations.fromJson(json['PeerLogs'] as Map<String, dynamic>)
: null,
);
}