Index.fromMap constructor
Implementation
factory Index.fromMap(Map<String, dynamic> map) {
return Index(
key: map['key'].toString(),
type: map['type'].toString(),
status: map['status'].toString(),
error: map['error'].toString(),
attributes: map['attributes'],
orders: map['orders'],
);
}