toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  final result = <String, dynamic>{};

  result.addAll({'probability': probability});

  return result;
}