fromJSON<E> static method

GroupScoped<E> fromJSON<E>(
  1. Map<String, dynamic> data,
  2. E decodeE(
    1. dynamic
    )
)

Implementation

static GroupScoped<E> fromJSON<E>(Map<String, dynamic> data, E Function(dynamic) decodeE) {
	return GroupScoped(
		entity: decodeE(data["entity"]),
		groupId: (data["groupId"] as String)
	);
}