Link.fromMap constructor

Link.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Link.fromMap(Map<String, dynamic> map) {
  return Link(
    map['rel'] as String,
    map['method'] as String,
    map['href'] as String,
  );
}