PrimaryKey.fromJson constructor

PrimaryKey.fromJson(
  1. Map json
)

Implementation

factory PrimaryKey.fromJson(Map json) {
  return PrimaryKey(
    name: json['name'],
    fields: (json['fields'] as Iterable).cast(),
  );
}