toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'metricName': metricName,
    'metricNamespace': metricNamespace,
    'metricTimestamp': ?metricTimestamp,
    'metricUnit': metricUnit,
    'metricValue': metricValue,
    'roleArn': roleArn,
  };
}