EntityNotification<E extends Identifiable<String>>.fromJSON constructor

EntityNotification<E extends Identifiable<String>>.fromJSON(
  1. Map<String, dynamic> data,
  2. E entityFromJson(
    1. Map<String, dynamic> data
    )
)

Implementation

factory EntityNotification.fromJSON(Map<String, dynamic> data, E Function(Map<String, dynamic> data) entityFromJson) {
	return EntityNotification(
			entityFromJson(data["entity"])
	);
}