Map<String, dynamic> toMap() { return <String, dynamic>{ 'perPartitionBytes': perPartitionBytes, 'period': period, }; }