Platform.fromMap constructor

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

Implementation

factory Platform.fromMap(Map<String, dynamic> map) {
  return Platform(
    $id: map['\$id'],
    $createdAt: map['\$createdAt'].toString(),
    $updatedAt: map['\$updatedAt'].toString(),
    name: map['name'],
    type: map['type'],
    key: map['key'],
    store: map['store'],
    hostname: map['hostname'],
    httpUser: map['httpUser'],
    httpPass: map['httpPass'],
  );
}