FeedbackLoop.fromJson constructor

FeedbackLoop.fromJson(
  1. Map json_
)

Implementation

FeedbackLoop.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        spamRatio: json_.containsKey('spamRatio')
            ? (json_['spamRatio'] as core.num).toDouble()
            : null,
      );