toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final endpoint = this.endpoint;
  final id = this.id;
  final index = this.index;
  final roleArn = this.roleArn;
  final type = this.type;
  return {
    'endpoint': endpoint,
    'id': id,
    'index': index,
    'roleArn': roleArn,
    'type': type,
  };
}