channelOptionsFromJson function
Implementation
ChannelCredentials channelOptionsFromJson(String value) {
if (value == _channelCredentialInsecure) {
return ChannelCredentials.insecure();
}
return ChannelCredentials.secure();
}
ChannelCredentials channelOptionsFromJson(String value) {
if (value == _channelCredentialInsecure) {
return ChannelCredentials.insecure();
}
return ChannelCredentials.secure();
}