postLink method Null safety

Future<StoryPostResult> postLink(
  1. {required LinkInfo linkInfo,
  2. String? content,
  3. StoryPermission? permission,
  4. bool? enableShare,
  5. Map<String, String>? androidExecParam,
  6. Map<String, String>? iosExecParam,
  7. Map<String, String>? androidMarketParam,
  8. Map<String, String>? iosMarketParam}
)

카카오스토리에 링크 스토리 쓰기

먼저 포스팅하고자 하는 URL로 linkInfo를 호출하고 반환된 링크 정보를 파라미터로 사용

Implementation

Future<StoryPostResult> postLink({
  required LinkInfo linkInfo,
  String? content,
  StoryPermission? permission,
  bool? enableShare,
  Map<String, String>? androidExecParam,
  Map<String, String>? iosExecParam,
  Map<String, String>? androidMarketParam,
  Map<String, String>? iosMarketParam,
}) =>
    _post(
        linkInfo: linkInfo,
        permission: permission,
        enableShare: enableShare,
        androidExecParam: androidExecParam,
        iosExecParam: iosExecParam,
        androidMarketParam: androidMarketParam,
        iosMarketParam: iosMarketParam);