You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
318 B
Dart
13 lines
318 B
Dart
import 'package:test_sa/models/lookup.dart';
|
|
|
|
class ContactTitle extends Lookup {
|
|
ContactTitle({int id, String label}) : super(id: id, name: label);
|
|
|
|
factory ContactTitle.fromMap(Map<String, dynamic> parsedJson) {
|
|
return ContactTitle(
|
|
label: parsedJson["value"],
|
|
id: parsedJson["id"],
|
|
);
|
|
}
|
|
}
|