toMap method

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

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    "index": index,
    "role": role,
    "healthy": healthy,
    "lagSeconds": lagSeconds,
  };
}