PortfolioShareDetail.fromJson constructor

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

Implementation

factory PortfolioShareDetail.fromJson(Map<String, dynamic> json) {
  return PortfolioShareDetail(
    accepted: json['Accepted'] as bool?,
    principalId: json['PrincipalId'] as String?,
    shareTagOptions: json['ShareTagOptions'] as bool?,
    type: (json['Type'] as String?)?.toDescribePortfolioShareType(),
  );
}