Identity.fromJson constructor

Identity.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Identity.fromJson(Map<String, dynamic> json) {
  return Identity(
    sourceIp: json['sourceIp'] as String,
    userAgent: json['userAgent'] as String,
  );
}