fromMap static method

dynamic fromMap(
  1. dynamic map
)

Implementation

static fromMap(dynamic map) {
  try {
    return SingularLinkParams(
      deeplink: map['deeplink'],
      passthrough: map['passthrough'],
      isDeferred: map['isDeferred'],
      urlParameters: map['urlParameters'],
    );
  } catch (e) {
    return null;
  }
}