StackdriverLoggingConfig.fromJson constructor
StackdriverLoggingConfig.fromJson(
- Object? j
Implementation
factory StackdriverLoggingConfig.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return StackdriverLoggingConfig(
samplingRatio: switch (json['samplingRatio']) {
null => 0,
Object $1 => decodeDouble($1),
},
);
}